LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sample VI DL3021A

I am looking for the LabVIEW driver for the Rigol DL3021A. If anyone has a sample VI that they could share, it would be greatly appreciated.
Best regards,
Steve
0 Kudos
Message 1 of 5
(313 Views)

There don't appear to be premade drivers for this.

 

However, it does appear to be a very standard SCPI + VISA device.  There's tons of general code out there using that.

 

I believe that you'll just have to make your own drivers.  A "sample VI" would just be any one of the dozens of VIs out there that send a *IDN? query and get a reply back.

0 Kudos
Message 2 of 5
(297 Views)
Hi Kyle,
 
I'm having trouble connecting to the device following your instructions and need some guidance on how to begin with the VI.
While I noticed it seems to be a standard SCPI + VISA device with a lot of general code available, I'm still unsure how to get started.
I understand that creating custom drivers might be necessary and that a sample VI could simply involve sending a \*IDN? query to get a response. Any initial steps or specific resources you could point me to would be greatly appreciated.
Thanks for your help!
Best regards,
Steve
0 Kudos
Message 3 of 5
(231 Views)

That device appears to support 3 different connections (USB, Ethernet, Serial RS-232).

 

If you're using Serial, you can start with one of the NI examples:

 

<LabVIEW 20xx folder in Program Files>\examples\Instrument IO\Serial\Continuous Serial Write and Read.vi

 

If you're using something else, then as long as you can get the instrument to show up as a VISA reference you can probably still use that same example except you delete the first half where it sets up things like the baud rate, flow control, and termination characters.

0 Kudos
Message 4 of 5
(223 Views)

I've encountered an issue with two driver VIs I found that are using USB and haven't been able to get them to work correctly.

Could you please offer some guidance or assistance?

0 Kudos
Message 5 of 5
(217 Views)