LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

IVI error code -1073807360

I'm using a FL8808 in a design.  I can communicate with it using the IVI driver at my bench.  But deployed, I get the following error code:

 

-1073807360 (0xBFFF0000)

 

The IVI plaintext error message function in the driver (fl8808_error_message) yields "Unknown status code"


According to this VISA status code page

 

BFFF0000

Unknown system error (miscellaneous error)

 

I assume that I have some driver issue on the target machine, though I'm not sure what.  I have a valid COM port when I plug in this Fluke DMM without issue in the Device Manager.

 

For build installation, I selected these options.  Should I do more?

 

2023-08-15 16_18_12-Edit Installer.png

0 Kudos
Message 1 of 2
(1,219 Views)

I found my problem.  I noticed that other applications I've written using the same instrument worked fine.  Similar code.

 

What I found was a simple bug in this new application.  I had a control get to retrieve the port number the user wants to connect to:

 

GetCtrlVal(panel, ctrlID, &meterPort);

sprintf(resourceName, "ASRL%d::INSTR", meterPort);

fl8808_InitWithOptions(resourceName, VI_TRUE, VI_TRUE, 
"Simulate=0,RangeCheck=1,QueryInstrStatus=0,Cache=1",
&meterHandle);

 

Turned out that the panel parameter in that GetCtrlVal was wrong!  So I was sending a bad port number.  Duh

Message 2 of 2
(1,138 Views)