Jump to content

error -1073807194 in VISA configure


longzoo

Recommended Posts

I have a USB device that I need use with COM drivers as well as D2XX. In order to switch between the two drivers a registry edit has to be made (which is no small feat for Windows 7 and the many levels of permissions). At times I have to switch from COM to D2XX, send some commands then switch back to COM. As expected, when i switch to D2XX i notice my COM port disappears from Computer Management then swiching back to COM it reappears. HOWEVER, after this point I can no longer run "VISA configure Serial Port (Serial Instr).vi" without the -1073807194 property node (arg 8).... error. 

I found in LAVA that arg 8 has to do with the flow control but regardless of the flow control setting i cannot make it pass. The only way to get VISA configure to run is to close LabVIEW COMPLETELY then reopen it. 

I also read that the arg 8 error can be caused by a hub so I moved the USB to the side of the computer rather than the monitor to no avail.

 

Can anyone tell me if LV is holding that port somehow, and how i can make it release?!? I have attempted to run VISA close as well as FT_Close_Device but nothing short of a complete closure of LabVIEW seems to work. 

Thanks,

Dave

Link to comment

I would hazard the LabVIEW loses track of the port when it disappears. Try using the VISA Find Resourse after switching to D2XX and see if it appears in the list. I would bet that it doesn't. I'm not sure how to force LabVIEW to refresh its resource list during runtime, LabVIEW seems to refresh it for me. I would make sure that the port is properly closed using VISA close before switching back and forth, I see that you did this, but maybe it was done in parallel or something? It's tough to tell without seeing code.

Link to comment

Thanks for the reply viSci, I  downloaded, installed and ran devcon.exe both manually (right click>>run as administrator) and with system exec.vi.  Either way when i run VISA configure...vi I still get a -1073807330 occurred at Property Node..... I seem to be missing something here :(

Edited by longzoo
Link to comment

ding dang it...It's still latching up. I found that the version of devcon.exe i was using was a tad old and when i downloaded the new WDK (version 8.1) i was able to disable, enable, rescan and restart, however LabVIEW still won't allow me to use the port until i completely quit LV and come back in :(

Any other thoughts? 

Link to comment

one other note...i noticed when i plugged another identical device in (same UART different serial number) and went to change the COM that the old COM number was "in use" as long as LabVIEW was still open. Regardless of restart, rescan, disable and enable cycles

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.