LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling OSA I/P thru switch

I am trying to use an optical switch to switch between 2 Inputs to the OSA. One is the LED and the other is teh Laser Input.
I control the switch using the I/O assistant as it has to perform only 2 operations. Recall 1 would give the LED and Recall 2 would give the Laser tot he OSA.
The OSA is controlled using its Labview drivers. How can I integrate the two on one program and switch between the two?
0 Kudos
Message 1 of 11
(5,282 Views)
Basically, if you have two different instruments that you are controlling independently, you would implement them in one VI the same way that you would implement them in two seperate VIs. The only difference is that you will need to accomodate for the timing/order of commands executed, which can easily be done by using the error cluster inputs/outputs of the I/O VIs.
 
Kind Regards,
E. Sulzer
Applications Engineer
National Instruments
0 Kudos
Message 2 of 11
(5,269 Views)
Hi...
I'm very new with labview software.can you help me with my problem?i have trying the OSA(AQ6317) initialize library to control the OSA.but the error code −1073807194 have occured and the source of error is VISA Write in AQ6317 SW Init.vi..
Hope that you can help me sir...thank you...
0 Kudos
Message 3 of 11
(5,134 Views)
Hey HANI,
The error code that you mentioned, 1073807194, is due to the Open VISA command that you probably have in your code. The problem is that I cannot get you any more information without more information myself. Could you let me know what you are trying to do with the VI that you're writing, have you tried using an example programs, and if it is possible/necessary post your VI to see if there's anything we can catch

Thanks
Can Wong
0 Kudos
Message 4 of 11
(5,119 Views)
I have deal with the error above by restart my computer. i am trying to build a labview program for controlling OSA. i also have used the example given in the driver library however a new error have occured; -1073807346 occured in VISA Read STB. Can you explain me more sir?..here i also attached the example that i've mentioned above..thank you..
0 Kudos
Message 5 of 11
(5,104 Views)
HANI,
I took a look at your code, and there are somethings that I do not understand, the first being how you are calling your device. It seems that you using a concantenate string so that the ID looks like GPIB::#. This is not the way you are suppose to call it, I recommend right clicking on the terminal and selecting create->control.
Another issue that may arise is that since you are using an older version of LabVIEW, the drivers that the example files gave you may need to be updated. For NI-VISA you can find the most latest drivers here.

Hope this helps
Can Wong
0 Kudos
Message 6 of 11
(5,086 Views)
Try installing the latest version of NI-VISA?, I had an issue runing NI-VISA v2.4 that came installed with LabVIEW 6.0. When I needed v.3.01 or higher for Keithley LabTracer 2.0 softwrae which is in essence a LabVIEW Run-time using NI-VISA.  It apperaed to get rid of VISA error -1073807194
0 Kudos
Message 7 of 11
(4,860 Views)

i m getting dis error(-1073807194) in "visa write". Kindly help me out with a proper solution?

0 Kudos
Message 8 of 11
(4,024 Views)
Attach your code.
0 Kudos
Message 9 of 11
(4,019 Views)

Hi,

I hv attached the file.....plz help me out

0 Kudos
Message 10 of 11
(3,991 Views)