I'm trying to use the 6534 to send some fairly slow control signals to another board. I've used Dig_Grp_Config to configure the CD group to be one output group, and I toggle the AB group between input and output as needed.
// Assign ports C and D to output group 2
i_Status = DIG_Grp_Config(i_DeviceNumber, 2, 2, 2, 1);
i_ReturnCode = NIDAQErrorHandler(i_Status, "DIG_Grp_Config", 0);
Unfortunately, while the input works fine I can't get an output on the oscilloscope using Dig_Out_Grp.
i_Status = DIG_Out_Grp(i_DeviceNumber, 2, 0x18);
i_ReturnCode = NIDAQErrorHandler(i_Status, "DIG_Out_Grp", 0);
Board's working; the Test Panels are able to put 5V on the line just fine. But my code doesn't work, and neithe
r does the nearest relevant example code ImmediateCDOSinglePoint.C , which both complains that the DIG_Line_Config isn't valid for the 6534 with dir=5 (runs fine with dir set to 1), and fails to output under either case. Any ideas as to why I can't get a signal out?