Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

cmmnctn with SPectrum analyzer "Униспек"

Solved!
Go to solution

Hello, i have problems with analyzer from russian hardware developers

 

The analyzer connect to PC via RS-232 and there are no LV`s drivers for handle this device. Originally analyzer contoled by C-based program.

 

I found that while program control analyzer system had handle some requests from program like:

 

Безымянный.png

 

Are there anyway exist to simulate IRP_MJ_WRITE request via LV for example?

0 Kudos
Message 1 of 2
(3,234 Views)
Solution
Accepted by Serg1987
You need to use the VISA functions. Look at the examples called 'Basic Serial Write and Read' and 'Advanced Serial Write and Read'. You could also look at any number of existing drivers that support serial communication. LabVIEW comes with the 34401 driver and all of the serial setup/unique code is done in the initialize function.
0 Kudos
Message 2 of 2
(3,230 Views)