Hi Andy. Why are you trying to set the onboard clock? Which camera are you using? There are most likely specific parameters that are allowed in this case, and they are probably fractions of some known timebase.
If you're trying to set a camera's pixel clock, then I suggest using the Action(Clock) token.
The Atmel-Grenoble TH78CH15AC camera file uses this token to output a particular pulse train on the Clock output line of a 1424. Here's the camera file section below:
Attribute (Master Clock) {
Value (List) {
Name (Internal) {
Action (Serial) {
Command (C=1\r)
Response (>OK)
}
}
Name (External) {
Action (Serial) {
Command (C=0\r)
Response (>OK)
}
Attribute (Frequency) {
Value (Integer) {
Min (10)
Max (40)
Increment (1)
Display {
Multiplier (1)
Offset (0)
Precision (1)
Units (MHz)
}
Default (40)
Current (40)
Action (Clock) {
ValueFrequency
}
}
}
}
Default (Internal)
Current (Internal)
}
}
}
I hope this helps. If you have a camera that is not currently supported by National Instruments, I encourage you to contact our Applications Engineers at www.ni.com/ask.
Kyle V