11-11-2008 10:11 AM
Hello,
I am working to measure RMS voltage from a 60Hz AC line using Measurement Studio in the C# language. I have been unable to get this to work, and, I have not been able to measure RMS voltages using MAX either. I attempted to create an RMS voltage channel. However, an exception was thrown, saying that this channel is not compatible with the equipment I am using. Here is the line from my code that failed:
analogInputTask.AIChannels.CreateVoltageRmsChannel("SC1Mod2/ai0", "V_L1", AITerminalConfiguration.Differential, -300, 300, AIVoltageAcrmsUnits.Volts);
When I create a regular voltage channel, I have no problem, and I have used DAQmx before without problems. If anyone has measured AC RMS voltages using Measurement Studio, any help would be appreciated.
Thanks!!
-Eric
11-14-2008 10:25 AM
Hello EricJay,
What terminal block are you using? It may be possible that there is an incompatibility, but it could also simply be a configuration problem.
Knowing all of the equipment being used in this application will help in the search for a solution to this issue.
Regards,
Dan King
11-14-2008 10:33 AM
Hi Dan,
I am using an SCXI-1313A terminal block.
-Eric
11-14-2008 11:24 AM
Regards,
Dan King