From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sample with an external clock with a SCXI 1140 (8 channel sample/hold amplifier)

I have a SCXI 1140 (8 channel sample/hold amplifier) and a SCXI 1305 card (BNC).
I want to sample an analog signal with external frequency (SMB connector).

I plug an analog signal on the channel 0 and a TTL signal on SMB connector "hold/clock" (the jumper corresponding to the SMB connector is on Hold postion).

I use the "ACQUIRE N SCANS - EXT SCANSCLK.VI" LabView example with :
DEVICE=1
CHANNELS [0]=SC1!MD1!0
CLOCK SOURCE=I/O CONNECTOR
CLOCK SOURCE STRING=SC1!MD1!

When I execute the example, I have the error -10 001 (problem with clock source string).
If I used CLOCK SOURCE=INTERNAL there is no error, but I do not sample with hold signal !

What is the probl
em with the string ?
Is there another solution for sampling whith an external signal ?
0 Kudos
Message 1 of 2
(2,292 Views)
The error that you're seeing is being generated because the clock source string should be "sc1!md1" not "sc1!md1!". It's the "!" at the end of the string that is causing the error.

Regards,
Erin
0 Kudos
Message 2 of 2
(2,292 Views)