Passing an object to a callback
I would like to have access to a C++ object from within my timer callback function without making the object global. Example below: in 'MyClass.h' class MyClass{public: MyClass(); ~MyClass();...
View Articlesetting panel attribute ATTR_CLOSE_ITEM_VISIBLE causes panel to blink
Hi Can someone find a reason why setting ATTR_CLOSE_ITEM_VISIBLE panel attribute to 0/1 causes the panel to blink?...Attached a small program. I use CVI 2012 SP1. Windows 7 64. I could only find this...
View Articleprogrammed file transfer between real time target and host
Hi, I am trying to transfer files from the real time target back to the host. And I am trying to avoid loading each file into RT's memory and do the low level tcp/ip or streaming transfer. is...
View ArticleVarias pantallas / More than one screen
Hola!Lo que quiero conseguir es mantener un menú superior a través del que se puede navegar por diferentes pantallas, las cuales se muestran justo debajo de este menú. Algún consejo?Muchas...
View ArticleCVI Real Time and standalone cDAQ
Can CVI Real Time be used to develop and remotely debug application running on a standalone cDAQ (9132, 9133, 9134, 9135, 9136, 9137) when they run NI Linux Real Time?I found this document, but it's...
View ArticlePCI1588 DaqMx NiSync CreateFutureTimeEvent
My application uses a PCI1588 and a PCI4661 (DaqMx) in the same PC. My PCI 1588 is connected to a PTP grand master and I wish to trigger the 4661 to start AI0 AI1 and AO0 and AO1 from the RTSI bus. I...
View ArticleDuplicate Panel
One day last week, LabWindows/CVI 2009 would not open. So I use the NI “Import Export Settings” to reset the settings from default. The next day, all my LabWindows programs were duplicating the...
View ArticleIf I am having 1 sec timer calling a fucntion,my function will take 2sec to...
CallbackTimer()//1 sec Timer { Dosomework();//it will take 2 sec to complete }
View ArticlePCI 461 PFI Input trigger to generate software event
My system has a PCI4661 DAQ and an PCI1588 sync'd to PTP. I have CVI 2015 anD NI Sync 16. I also have other network devices set to PTP.My appliation requires all devices 4461 AO/AI and network devices...
View ArticleInterfacing with a Particle Photon
I am interested if anyone in the community knows anything about interfacing cvi with a particle device like a photon, or even another brand such as arduino. I would like to see if I can send values...
View ArticleTCP Communication between LabWIndows CVI Server and LabVIEW Client
Hi everyone, I'm facing an issue in using TCP for exchanging data between a LabWindows CVI server and LabVIEW client program, both running on different PC's connected directly via LAN. Basic setup of...
View ArticleChanging the Item List Color in Ring control
Hi,I tried to change the color of an item in a ring control using the following syntaxeReplaceListItem (MeshedTabHandle, MESHED_MATERIAL_LIST, 3, "\033fg0C0C0 SAVE", -2); and I got the following...
View ArticleAnnouncement: LabWindows™/CVI™ 2015 SP1 f1 Patches
Critical updates for the LabWindows™/CVI™ 2015 SP1 Development Environment and the LabWindows/CVI 2015 SP1 Run-Time Engine have been released. Note: These are two separate patches.The LabWindows/CVI...
View ArticleDuplicated controls are autonamed in "reverse" order.
CVI 2015 fully patched Win7 Enterprise. I have a group of five one letter text controls that represent amino acids (AA_1, AA_2, AA_3, AA_4, and AA_5 left to right) respectively in a gui panel. If I...
View ArticleMissing file error while creating distribution
Hey, since yesterday i get an error every time i try to build a distribution. The error says "*** Error (-32): A file, directory, or other data could not be found." A few month ago the build worked...
View ArticleNeed help with with CVI Run time error and run with TestStand
I'm getting Non-Fatal Run-time Error when running Window/CVI code in TestStand. See attachments. What condition does Windows/CVI generate attached error message? Thanks,
View ArticleUI editor status issue
hi guys, i need help in solving this .topic - communication of devicesquestion:create a lab window UI for frequency response by connecting real multimeter and generator to the UI. please help me solve...
View ArticleLab windows UI for frequency response
How do i create an UI for the below code #include <visa.h>#include <ansi_c.h>#include <cvirte.h> #include <userint.h>#include "stepresponse.h"#include "toolbox.h"static int...
View ArticleVisa time out error
Hello.Is there any solution to avoid visa timeout error ? I try to configure timeout to 4000 ms but the error appears again In my program I open connection to R&S instrument, then in the end I...
View Article