03-10-2023 03:17 AM
Hello,
My Experiment consists of speakers and eight PCB106-B sensors. I use two USB 4432 simultaneously and want to trigger them at the same time. I need 4 of the 5 channels of each device to measure pressure signal. The last input channel of each I want to use as a trigger. But this didn't work correct yet. It is always phase shifted betweeen the two devices. I tried to trigger with one sensor not in use and a cable that is splitted into two directions to trigger both devices. Why doesnt it work? What other possibilities do I have to trigger simultaneously?
Greetings Jonas
03-10-2023 03:38 AM
Hi Jonas,
@jonas5647 wrote:
My Experiment consists of speakers and eight PCB106-B sensors. I use two USB 4432 simultaneously and want to trigger them at the same time. I need 4 of the 5 channels of each device to measure pressure signal. The last input channel of each I want to use as a trigger. But this didn't work correct yet.
It seems you still work on the same issue…
What have you tried so far? Mind to attach your VI?
How did you setup the trigger(s)?
03-10-2023 03:54 AM
Hello Gerd,
thanks for your fast answer. I thought I managed my problem, but I recognized my two devices don't measure simultaneously. here is the VI of the first device:
Here I want to trigger with the first pressure sensor.
Then I have a splitted cable that goes from the same sensor signal to the last input of device 2. The VI looks like:
I already tried a few other things like the before mentioned unused sensor which also gets a high pressure signal. For that I tried to trigger on both devices with the last input channel. That didn't work as well 😞
I also have adapters to use the digital I/O & PFI but I don't know how this one works.
03-10-2023 04:25 AM
Hi Jonas,
@jonas5647 wrote:
here is the VI of the first device:
I also have adapters to use the digital I/O & PFI but I don't know how this one works.
There is no VI, there are just some images showing some (but not all) details of those DAQAssistent ExpressVIs. And there are too many ExpressVIs IMHO…
Which kind of "adapters for digital IO" do you have?
In my opinion it would be easier to trigger using a PFI - I never had the need to trigger using an AI channel…
03-10-2023 04:56 AM
Hello Gerd,
I use the attached VIs.
These are my USB-Devices:
All the blue cables are my sensors and the one with the big black cable should be for triggering. I have no experience triggering with PFI. How does this work?
Best regards
Jonas
03-10-2023 06:53 AM
Hallo Jonas,
you really should cleanup your VI to improve the readability and maintainability!
Now the block diagram even fits into a FullHD screen…
(You should rework the path building by using BuildPath and path controls!)
On your DAQAssistents:
To learn about using PFIs for triggering you should (re)visit the DAQmx example VIs in the example finder…