LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Control Siglent SDG2000X series function generator via Labview

Hi guys,

 

I am new to LabVIEW, and am trying to control the Siglent Function generator (SDG 2042X) using my laptop. The task is to simply generate a pulse sequence.

 

However, I am having issue when I run the program. The error message is indicated as follow

Hyunwooss_0-1625523955731.png

The code is pretty much same as what given in the example, which I get the same error message there.

 

The code looks like this:

Hyunwooss_1-1625524036651.png

 

Any advice would be really appreciated.

0 Kudos
Message 1 of 2
(1,830 Views)

Hi Hyunwooss,

 


@Hyunwooss wrote:

However, I am having issue when I run the program. The error message is indicated as follow

Hyunwooss_0-1625523955731.png


Do you see this "-108" text in the error message? This is an error generated by your Siglent device because you sent a malformed command string!

Read the (programming) manual of your device, it should explain this error code. Then debug your VI to find the command, which enforces that error message!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(1,786 Views)