ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disamble a Binary string

Hi Everybody,

 

I'm making a program to recreate DCF77 Signal, I have a 60 width Bynary string (0001110101100..), and I have to separate them to send them 1 per second (whole string in 1 minute). 'Cause is a time/date signal and every bit generate an Amplitude Modulation. So my question is, anybody have an idea how to separate them and send them 1 per second?.

I've been thinking to subset string but that would not be very efective to have 60 subset boxes.

 

Thank you in advance.

 

Pablo. 

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

I am assuming you don't have a binary string, but a binary formatted string consisting of the characters 0 and 1. If not, let us know.

 

All you need is a FOR loop with N=60 containing a string subset function wired to your string and the the iteration terminal and a 1 numeric diagram constant for size. Add an appropriate wait inside the loop and your communications code. 

0 Kudos
Message 2 of 2
(2,588 Views)