10-20-2006 02:55 AM
10-23-2006 11:57 AM
Hi Nir,
That's an interesting question that you have here, so let me see if I understand your application correctly. But first, let me answer some of the questions first:
Thanks,
Daniel L.
Applications Engineer
National Instruments
10-24-2006 11:55 AM
Hi Daniel,
I added my data generation timing diagram.
My first task was to transmit one data slot. (Each run, only one slot was generated based on external trigger)
I used DAQmx trigger function. (I have noticed that even in that mode (Using scope) that sometimes (one out of 50) the slot wasn't generated correctly.
That application run quite well.
-----------------------------------------------------------------------------------------------------------------------------------------
My second task was to transmit one data slot, upon each periodic external trigger.
In order to do that, i modified my LABVIEW file to include a while loop.
Using that method I saw that ~20 % of data slots weren't transmitted correctly.
I hope that you managed to get a better picture of my data generation problem.
-------------------------------------------------------------------------------------------------------------------------------------------
From your response I understand that I can apply my external trigger to PCI 6602, and stay with my external CLK connected to
PCI 6534.
If the PCI 6602 is a possible solution, please descfribe in details (HW connections / SW LABIEW) your suggestion.
Best Regards,
Nir Corse
10-25-2006 10:46 AM
Hi Nir,
Thanks for the timing diagram; I see what you are trying to do now. Here are my thoughts:
It sounds like you would like to configure the 653x device to re-trigger. However, re-triggering is not supported by the 653x hardware. You basically have two options from this point, and I think that you've already tried option 1:
Option 1:
Reconfigure the device and wait for the new trigger(s). However, reconfiguring takes time, so this option will not work if the application has very tight time constraints.
Option 2:
Configure the 653x device for a pattern input (or output) operation, and use a counter to generate the clock signal. One method would be to use a 660x board to generate the clock signal. We have an example already written with the hardware and software description for Continuous Pattern Output with Retrigger. This example is written in Traditional DAQ; what version of LabVIEW and DAQ are you using?
I hope this helps shed some light on your application.
Daniel L.
Applications Engineer
National Instruments
10-25-2006 12:05 PM
Hi daniel,
Thank you for your replay.
We have tried option 1. (Doesn't work)
We are using LABVIEW 8.2 (DAQmx Drivers) and Windows XP.
------------------------------------------------------------------------------------------------------------
1. Your option 2 is not clear. What clock should the PCI 6602 generate? (Is it the pattern signal to the PCI 6534 upon each external trigger to the PCI 6602?)
2. Doe's the PCI 6602 will be connected via RTSI? (To what line in Group A?)
Best Regards,
Nir
10-25-2006 03:26 PM
Hi Daniel,
I think that the following will solve my problem,
1. The external trigger will be connected to the PCI 6602.
2. The PCI 6602 will initiate a CLK to the PCI 6534 (REQ).
3. Upon each external trigger 58800 CLK bits will be generated.
Is it possible to modify the PCI 6534 data pattern?. (Data slot 1 is different than data slot 2)
Best Regards,
Nir
10-26-2006 03:34 PM
10-27-2006 01:10 AM
Hi Daniel,
I can't send you my data generation code due to my restrictions. ( I also don't think that in will contribute here)
My suggestion is,
1. Generate 2 different random bits vectors of 53900 bits each.
2. Configure the *.vi to PCI 6602 and PCI 6534 data generation.
3. Connect the external trigger to the PCI 6602.
4. Set the "do not allow regeneration" property and try to load each external trigger the on board memory
with a different vector.
5. You can check if the transmitted data slots are transmitted each trigger, and if you manage to peak a different vector each time.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
- Please let me know if what I wrote in my previous reply, regarding the description of connecting the PCI 6602 and PCI 6534 is correct.
Thank you for your help,
Nir
10-30-2006 10:48 AM - edited 10-30-2006 10:48 AM
Message Edited by Travis G. on 10-30-2006 10:49 AM
10-31-2006 10:50 AM
Hi Travis,
Thank you for your reply.
I have the PCI 6602 and I will set it.
I would like to ask the following:
1. From your description I understand that you are using the PCI 6602 in order to generate triggered CLK which will be used to sample CLK the PCI 6534.
I added my timing diagram in my previous replays. I already have this triggered CLK from an external device. I am entering it as external CLK in my data generation. (I don't see the difference)
2. If I am using the PCI 6602 to generate the triggered CLK. How the PCI 6534 will reset upon each trigger. (The trigger to the PCI 6602)
Because I need the data from the start upon each trigger.
3. Can we speak by phone? If yes please send me your number and hour.
Best Regards,
Nir Corse