Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i input an IRIG time as timebase for DAQ

i've got a 6062E board for collecting analog data but need to have IRIG time from another source input as the time base for the labview DAQ channels.  How can i do this with labview and my existing h/w ?
 
thanks,
jac
0 Kudos
Message 1 of 11
(4,928 Views)

jac,

I want to make sure I am understanding you correctly - you want to use an IRIG-based clock ast the timestamps of your DAQ samples? Unfortunately, this is not possible with the 6062. With an M Series, you could possibly use correlated DIO and software processing to get an approximate timestamp, and possibly trigger off of a new period of your IRIG signal (a new second), but this would be shaky at best. In order to get extreme accuracy (400ns) of timestamps for individual samples, you would need to use the PXI-6608. Please note that this device is available only in the PXI form factor.

Hope this helps,

 
Ryan Verret
Product Marketing Engineer
Signal Generators
National Instruments
0 Kudos
Message 2 of 11
(4,913 Views)
I need to timestamp some data coming as input every 16ms to LabVIEW program. I have the IRIG-B to use. How can I need a signal to the IRIG Board from LabVIEW and recieve the time tag every few millisecs. Basically How do I interact with the IRIG board with LabVIEW. 
0 Kudos
Message 3 of 11
(4,889 Views)
Dsurana,

Is this a PCI GPS board? If so, does it have some sort of driver you can communicate with? Do you have a PCI or PXI counter board? The only National Instruments hardware that supports IRIG-B is the PXI-6608 counter board. Please let us know so we can make some suggestions.

Regards,
Ryan Verret
Product Marketing Engineer
Signal Generators
National Instruments
0 Kudos
Message 4 of 11
(4,876 Views)
Hi,

Its " TPRO-PC104" used for time tagging in ISA bus system , doesn't support GPS signal. I dont have any NI boards. What I understand is: a the Input time code is given through a BNC connector and the IRIG-B output is also through the BNC connector. Right now I want access the IRIG-B time without the BNC connectors. My thought is to read the time code via the " inport " block in LabVIEW 7.0  from the four 16-bit time registers on the board which give time in secs through days. Similarly, I was thinking whether I can also set a time by writing to the command port by access the correct write registers again using "inport" and " outport".  I haven't used inport and outport blocks before. Do u think I can use them in my application here. I hope my application and idea make sense. I am a new user of LabVIEW also dont have much of programming experience -:)..Please advice asap.

Thanks in advance,
DS
0 Kudos
Message 5 of 11
(4,867 Views)
Hi all,

The time tagging from a IRIG card in outputted in BCD when you read the 16 bit Time registers, When I use 'Inport' to read these registers the output from this block is 16-bit signed integer. Is this correct? Can anyone let me know how can I read BCD from these registers.

If I connect the 16-bit signed integer, back into a array of 16-bit binary. How can I format it give me a decimal values taking it as BCD.


0 Kudos
Message 6 of 11
(4,863 Views)
Hello,
 
It sounds like your latest task is to simply convert between binary coded decimal (BCD) and standard integer representations.  Here is a document that describes the BCD encoding; you'll be able to write a VI fairly easily to perform the conversion.  Basically, BCD just takes a number like 385 and converts to a string of 1's and 0's where each digit, the 3, 8, and 5, are each converted to their 4-bit representations.  In this case, we would have: 0011 1000 0101, where i have put a space between the sets of 4 bits to emphasize that it simply encodes 3 8 5.
 
I hope this helps!
 
Thank you,
 
Best Regards,
 
JLS
Best,
JLS
Sixclear
0 Kudos
Message 7 of 11
(4,837 Views)
Hello again,
 
I wrote a VI to convert BCD to and from decimal and attached it here.  I quickly put it together moments ago, so it is likely not the most efficient possible, but it should work 🙂
 
Hope this helps!
 
Best Regards,
 
JLS
Best,
JLS
Sixclear
0 Kudos
Message 8 of 11
(4,835 Views)
Dear JLS:

Thanks a ton for your help. I am not able to view the Vi completely as one of the sub Vis is missing. "BinOctDecHextoZeroPaddedString,vi". Could you upload this VI.

Thanks again,
Divya.
0 Kudos
Message 9 of 11
(4,814 Views)
Hello,
 
Yes, sorry about that!  Here it is!
 
Hope this helps!
 
JLS
Best,
JLS
Sixclear
0 Kudos
Message 10 of 11
(4,801 Views)