LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview example serial to parallel conversion

Hello
 
I have a test requirement where I want to use MIC 5891 which is a " serial input to 8 bit parallel driver - shift register " for driving relays etc, I want to use DAQ 6008 DO lines to be used as clk , serial data
strobe , output enable lines for this serial to parallel driver IC.
 
Can someone provide help how this can be done using LABVIEW. We are using Labview 7.1
 
 
Thanks
 
Vinod
 
 
 
 
0 Kudos
Message 1 of 3
(3,739 Views)

Hi Vinod,

The USB-6008 does not have hardware timed digital outputs, so the only way to accomplish what you are trying to do will be through software timing. Since it looks like you are doing synchronous serial this could work.  You will have a manually control each line in software to create the timing you are looking for. A good example of software timed digital output can be found in the NI Example Finder. This can be found by going to the Help menu and selecting Find Examples.... Once the NI Example Finder is open select Hardware Input and Output » DAQmx » Digital Generation » Write Dig Port.vi.

Also here is a forum post that talks about implementing software timed SPI communication. Since SPI is a type of synchronous serial this may help also. Let me know if you have any questions. Take care.

Thanks,

Nathan
NI Chief Hardware Engineer
0 Kudos
Message 2 of 3
(3,699 Views)

Hello Nathan

 

Thanks for yr suggestion. In this application timing is not critical , it just requires data to be first available at the shift register input & then making a Low-High change at clock input . Someone has

also suggested using an array & then outputting on DO lines. I would come back if any help

required.

 

Thanks Vinod

 

 

 

0 Kudos
Message 3 of 3
(3,669 Views)