05-15-2007 08:00 AM
05-15-2007 03:19 PM
05-15-2007 04:09 PM
05-15-2007 04:34 PM
05-15-2007 05:20 PM
05-15-2007 09:50 PM
Ryan,
I will definitely look into how markers are used. I may still try and preserve a TClk approach (that is if my idea in my last post was valid) because if I can precisely align the clocks, I can have greatest confidence in trying to oversample each analog output as they are selected by the multiplexer, driven by the 6542. Otherwise, with clocks only frequency locked to the PXI reference clock, there can be a phase difference of 0-1 clock cycle between the two, and this could limit my confidence in digitizing a "pixel's" value near the beginning and end of it's presence at the multiplexer output.
I need to research the notion of pause triggering. I wonder if that implies that my waveform script could allow me to send a marker as trigger to the digitizer, when a row of pixels starts, and a marker allowing a pause in acquisition at the end of the row until the next row starts (there is a nonstandard delay between rows in the way this sensor works). Another thing I need to understand better.
Anyway, thanks, and if I learn anything interesting, I'll let you know!
Best,
Bill
05-16-2007 08:35 AM
05-16-2007 11:11 AM
Hi Ryan,
Thanks for the info -- it seems you can specify marker duration in NIFgen, but not HSDIO. Anyway it looks like the 5122 (supported by NI-SCOPE driver) doesn't support a pause trigger. So I'm using a marker in the 6542 pattern script, exported to PXI-trig1/RTSI1, and on the NI-SCOPE side, as a digital edge ref trigger, positive slope, with source on RTSI1.
It's interesting and annoying that there is inconsistency in nomenclature between the two (HSDIO and NI-SCOPE, see prev. sentence). And different devices can use certain i/o assets as sources, inconsistently (e.g. 6542 can export markers to PXI, but cannot export Data Active event to PXI, only PFI). These things trip up a newcomer like me.
Bill
05-17-2007 10:17 AM
Ryan (and anyone else),
A new problem:
I thought I was triggering the PXI-5122 with a marker event generated by the PXI-6542, exported on PXI Trigger Line0/RTSI0, but closer inspection revealed that the 5122 was defaulting to immediate start triggering. I am simultaneously acquiring on the 6542 as a sanity check, and it successfully triggers at the marker, with "PXI Trigger Line0/RTSI0" as the source.
The only trigger configuring of the 5122 was with "niScope Configure Trigger Digital.vi" (Digital Edge Ref Trigger, RTSI_0, positive slope). This is I guess only to set common properties for all digital edge trigger types on a particular source? I since added an niScope Property Node that sets "Start Trigger Source" to "VAL_RTSI_0", and now it won't trigger. If I change "VAL_RTSI_0" to "VAL_IMMEDIATE", I get immediate triggering again.
I'm assuming that this is how to configure a start trigger on a PXI-5122, and that selecting RTSI 0 is the same as "PXI trigger line 0 / RTSI 0" defined by the 6542 setting?
I would have tried PXI_STAR as a start trigger source on the 5122, but you can't export a marker event to PXI_STAR in HSDIO.
I ordered some SMB connectors yesterday so I can try direct connection of PFIs between the two boards, but on the 5122 the PFIs are on a DIN-type connector I don't have a mate for.
Help appreciated!
Bill
05-30-2007 10:17 AM
Hi Bill,
I believe it would be best to continue the new issue in your other post, here. Going with TCLK will be a much easier and cleaner solution than trying to route signals manually.