LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hiow to build digital waveform with transition values bigger U32?

Greetings!

 

Is that possible to build digital data with transitions values represented bigger than U32 values? (It seems to me that Labview 8.0 cannot accept U64. See attachment.)

What do you recommend? I cannot change dt, so scaling does not work. This is because, the record length could be very long...and the waveform should be connected to a digital waveform graph.

 

Thanks in advance!

 

 

0 Kudos
Message 1 of 6
(3,310 Views)

Hi lamaze, 

 

As far as I understood you are trying to build really big array, that exceed number of rows 2^32 (U32), correct? That's why you need to use transitions value greater that U32, correct? 

Anyway, it is not possiible to connect values to transition input as an array of U64 representation.

 

One thing that you can try to do is to split your array into two smaller arrays and then create transitions with U32 values. Next you can use VI "Append digital samples.vi" to concatenate those 2 signals into one. Thanks to that still you would be able to reduce memory resources and you would be able to show whole waveform in the graph. 

 

Hope this helps. Let me know.

If not, maybe you can send me your VI what exactly you're trying to achieve.

 

Regards,

Dawid 

0 Kudos
Message 2 of 6
(3,266 Views)

Hello Dawid,

 

Thank you for the answer.

Yes, I'd like to build a big array, which although would not be so big... I have not so many samples (just a few thousands) but the samples could be very far from each other. That's why I need U64.

I'm using compressed digital waveform to transport and display the samples, where the transition value functions as an offset (counted in dt) from the first sample.

For example, to store a 1Hz signal  with sampling rate 100MHz the transitions will accumulate by 50M. If the record has 1000 samples then the last transition value will reach 50G which is much bigger than a U32 can store.

You might ask why so high the sampling rate for a 1Hz signal... The signal is stochastic, could be faster, and I would like to keep tha fast pulses also.

I dig into the "Append digital samples.vi" (see attachment) and I found the transition array is build by U32... I hope I did not misunderstand you, but I think it does not help. I suspect even the Digital Waveform Graph itself is not able to accept values over the U32 range, however, I should try that.

 

Best Regards,

Lamaze

 

 

0 Kudos
Message 3 of 6
(3,256 Views)

Lamaze, 

 

Thanks for explanation - now I got what you are trying to do. Unfortunately in transition input you cannot enter values bigger that U32... This is the hard limit and you can not change it. In that case you have to think about some other solution, like taking smaller amount of samples. 

 

You were right about the "Append digital samples.vi". It works also only at U32 representation. Digital Waveform Graph also don't accept data bigger that U32. I'm sorry about informing you those news, but this is what we cannot  change... 

 

If I can help in something else please let me know.

 

Regards,

Dawid 

0 Kudos
Message 4 of 6
(3,225 Views)

Hi Lamaze, 

 

You didn't reply to me for last post. Can I help you more? 

 

I would like to inform you that from Friday I won't be in the office for 2 weeks and I won't be able to help you in that period. Anyway if you would need any help in future feel free to write to techsupport@ni.com with any questions.

 

Regards,

Dawid 

0 Kudos
Message 5 of 6
(3,188 Views)

Hello Dawid,

 

Thank you for the help and sorry for the late answer. I was also away from the office and Labview too, however I could see your last answer.

If I have another question I'll write either to the techsupport or forum. Thanks again!

 

BR,

Lamaze

0 Kudos
Message 6 of 6
(3,101 Views)