LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Program structure in LV

Hi,all
I am a novice for LV. I hope LV's experts give me a exemplification about the program structure in the same VI to accomplish the different events,e.g. PXI5411 generates wave and PXI4472 samples different sensor signal. I programmed the structure with two parallel while loop structure. I try the different events to a WHILE LOOP,but the some ERROR notify about data size! I thought the parallel structure is unreasonable,but there is no better idea for this problem. Would you help me?
Thanks,
Regard
XU
0 Kudos
Message 1 of 4
(2,776 Views)
LIONCSU,

Can you please specify more details regarding the issue you are seeing? What function is the error that you are seeing originating from? Is there a specific error number ans message? I assume that you are doing a continuous acquisition/generation given the fact that you are using while loops. Is this correct? If so you may want to consider using one loop containing both the generation and acquisition.

Regards,

Shea C
0 Kudos
Message 2 of 4
(2,747 Views)
Shea,C
Thank your friendly reply. The issue was resolved just as your guess generating and sampling events programmed in ONE while loop. The reason of prompt error is the mismatch of SAMPLES PER CHANNEL & SAMPLE RATE. By the way,the issue about PXI5411 generates DC Voltage signal is not still resolved. The Voltage amplifier is employed to overcome the OSCILLATING OUTPUT VALUE. I am wondering about the problem that the range of PXI5411 is +/-10V DC coupling.
Finally, would you make friend with me? If you are willing to accept my invitation,I'll introduce myself to your E-Mail and hope to get your help directly. My E-mail:Lioncsu@hotmail.com.


Regards,
XU
0 Kudos
Message 3 of 4
(2,723 Views)
LIONCSU,

I'm glad to hear that my advice helped! You may want to post you response to the issue regarding the 5411 on it's respective thread so that I will receive notification that there has been activity. I wasn't aware that the other issue had not been resolved. I would be more than happy to provide more help after your specific follow-up question has been posted.

You can get this level of support from any of the Application Engineers here at NI. I currently support the products you have been using and answer discussion forum post from time to time. If you happen to post more questions they will be reviewed and if not sufficiently answered by customers a post will be made by one of the other Engineers that I mentioned. Please let us know if there is anything else that we can help you with.

Regards,

Shea C
Applications Engineering
NI
0 Kudos
Message 4 of 4
(2,661 Views)