08-07-2014 02:38 AM - edited 08-07-2014 02:42 AM
hi all,
I am a bit confused about handshaking (8255) mode with 6535 card. I am using SCB-68 connector block with the card. So my question is really simple PFI<0..3> are the control pins fro triger and event signal. After going and reading a bit I am confussed which ones to use as triger and which one to use as event. Would be greatful if you guys can refer me to some example for handshaking in 6535 card.
Best Regards
Solved! Go to Solution.
08-07-2014 02:55 PM
Hi nolsqn,
according to documentation default setup is trigger on PFI0 and event on PFI1
Best regards,
CaravagGIO
08-08-2014 08:45 AM
Thanks a lot , I was trying with PFI3 all this time and freaking out why its not working . I will try it with PFI0 and see if it works or not.
Thanks a lot 🙂
08-08-2014 01:17 PM
everything worked like a charm .. thanks a lot
11-13-2015 09:11 AM
Hello,
I am using PCIe-6536 and my question is how to initialize handshaking, I assume you have similar device, so initialization should be the same
My code is
// triggers
myTask.Triggers.HandshakeTrigger.Interlocked.Source = "PFI0";
myTask.Triggers.HandshakeTrigger.Type = HandshakeTriggerType.Interlocked;
myTask.Triggers.HandshakeTrigger.Interlocked.AssertedLevel = InterlockedHandshakeTriggerAssertedLevel.Low;
// events
myTask.ExportSignals.HandshakeEventOutputTerminal = "PFI1";
myTask.ExportSignals.HandshakeEventOutputBehavior = HandshakeEventOutputBehavior.Interlocked;
myTask.ExportSignals.HandshakeEventInterlockedAssertedLevel = HandshakeEventInterlockedAssertedLevel.Low;
myTask.ExportSignals.HandshakeEventInterlockedAssertOnStart = true; --------------------- not supported property error
// Timing
myTask.Timing.ConfigureHandshaking(SampleQuantityMode.ContinuousSamples, 4096);
myTask.Timing.HandshakeDelayAfterTransfer = 0.0;
myTask.Timing.HandshakeSampleInputDataCondition = HandshakeSampleInputDataCondition.HandshakeTriggerAsserts;
myTask.Timing.HandshakeStartCondition = HandshakeStartCondition.WaitForHandshakeTriggerAssert; --------------------- not supported property error
As you can see I have "not supported property" exceptions. Why?
Thank you