LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Old serial vi works but serial example using VISA has to have error handleing removed

Old serial vi works but "Basic Serial Write and Read ", example using VISA has to have error handleing removed "write Bytes to port"or throws:

Error -1073807298 occurred at VISA Write in Basic Serial Write and Read.vi, VISA:  (Hex 0xBFFF003E) Could not perform operation because of I/O error.

 

I read through some of the threads and tried removing and adding the drivers and this did not fix the issue.

 

Any suggestions would be appriciated, I'm using LV8.6.

 

Regards,

 

-SS



0 Kudos
Message 1 of 11
(3,141 Views)

Just a guess, but are you trying to talk to a port that is bring used by something else? Does it behave the same way on all serial ports?

 

Mike...

 

PS: No problem on LV2012 (win7)


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 11
(3,130 Views)

@mikeporter wrote:

Just a guess, but are you trying to talk to a port that is bring used by something else? Does it behave the same way on all serial ports?


No the ports are freed up and yes it behaves the same way on both ports.

 

They are virtual USB to UART ports.  -SS



0 Kudos
Message 3 of 11
(3,111 Views)

Does your computer have any built-in serial IO? Do the drivers work with them? Can you access the serial dongles from other programs like hyperterminal? What OS are you using? Who makes the dongles that you are using?

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 11
(3,091 Views)

@mikeporter wrote:

Does your computer have any built-in serial IO? Do the drivers work with them? Can you access the serial dongles from other programs like hyperterminal? What OS are you using? Who makes the dongles that you are using?

 

Mike...


Yes, one built in serial I/O. No, since I am using a USB connection for my hardware that is required. Yes, Tera Term and Hyperterminal work.  The OS is Windows 7 (officially not suported I think).  USB drivers are made by Siliconlabs.

 

I will install LV(latest) on a 30 eval and see if it has the same issue.

 

I know VISA works fine on other hardware, I'm just trying to make sure I don't have a hardware problem lurking under the hood of my driver.

 



0 Kudos
Message 5 of 11
(3,085 Views)

Based on what your answers, I think I would lean towards a compatibility problem between Win7 and the older version of LV. I have used SiliconLabs products in the past and in my experience they were always solid.

 

MIke...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 6 of 11
(3,082 Views)

Update...same error occurs on LabVIEW 2012 with all patches. -SS



0 Kudos
Message 7 of 11
(3,060 Views)

Hmmm... Well so much for experience. Do you have a dongle made by a different vendor available?

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 8 of 11
(3,056 Views)

How do you determine at runtime which VISA driver is being used?  I would like to know which VISA driver the "VISA Write Function" is using the LV8.6 version or the LV2012 version.



0 Kudos
Message 9 of 11
(3,048 Views)

There should only be only one set of VISA drivers on the PC. You can see what is installed in MAX, under software. Are you running VISA 5.2? There is another question active right now with a guy who is using VISA 5.2 and is also seeing strange write errors communicating with a USB dongle. Here

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 10 of 11
(3,046 Views)