LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i create a Dropbox for niHSDIO sample clock?

Hello there,
 
I have the understood building the waveform part. But now, how can i create the signals? After the Create >> Constant, i would like to create 9 signals just like in the picture that i attached in the previous question.
 
Regards,
Aidah
0 Kudos
Message 11 of 12
(623 Views)
Hi Aidah,
 
If you have the Digital Waveform Editor (DWE), you can easily create digital signals to write to your HSDIO board.  By the way, what is the model number of your card?  For more information on the DWE, click here.  This software generates an HWS (hierarchical waveform storage) of the waveform data type. 
 
You can also create waveform information by converting numbers into binary data.  For example, a U32 binary representation has information for 32 channels.  I'd recommend you look at any of our HSDIO generation shipping examples.  (Help >> Find Examples, then Browse for Examples >> Hardware I/O >> Modular Instruments >> NI - HSDIO >> Dynamic Generation >> Non- Scripted).  Let's start with the most basic example, "Dynamic Generation.vi".  You'll see that the number is taken from the iteration count of the For Loop and converted into a U8, U16, or U18 depending on the data width (this varies from card to card, but LabVIEW will handle this automatically for you with the case structure). 
 
If you know what your sequence should look like, you can send an array of these numbers and convert them into the necessary format to create your digital waveform.  You can see how things may get tedious, so this is why we recommend the Digital Waveform Editor. 
 
I hope this helps,
 
Daniel L.
Applications Engineer
National Instruments
0 Kudos
Message 12 of 12
(606 Views)