11-30-2021 04:57 PM
I'm using the fl8808 VISA driver in a CVI project. Works great. But I just discovered that it seems to be interfering with the CVI dialog function FileSelectPopup. I get the -180 error code and the dialog doesn't pop at all.
I found this and that forum discussions. They discuss forcing the thread type to COINIT_APARTMENTTHREADED, but that isn't working for me.
What I've found is that if I merely skip all the fl8808 functions, then the FileSelectPopup pops as expected. My application isn't set up for multi-threaded at all (I'm assuming the fl8808 does).
12-21-2021 05:21 PM
Any CVI engineers I can talk to about this? It's kind of a show stopper for my client application.
11-07-2024 10:16 AM
As a practical matter, you could try:
do
status = FileSelectPopup(dir,"*.csv","*.csv","Data File",
VAL_OK_BUTTON,0,1,1,0,datafile);
while (status==-180);
I worked around the described problem with this trick.