-
Notifications
You must be signed in to change notification settings - Fork 9
Labels
Description
Up to now we always required NI devices which support RSE. A recent user used Diff
diff --git a/Packages/MIES/MIES_DAC-Hardware.ipf b/Packages/MIES/MIES_DAC-Hardware.ipf
index 3f9f5329ad..3af5029e73 100644
--- a/Packages/MIES/MIES_DAC-Hardware.ipf
+++ b/Packages/MIES/MIES_DAC-Hardware.ipf
@@ -2371,7 +2371,7 @@ Function HW_NI_PrepareAcq(variable deviceID, variable mode, [WAVE/Z data, FUNCRE
ASSERT(!IsFreeWave(NIDataWave[i]), "Can not work with free waves")
switch(config[i][%ChannelType])
case XOP_CHANNEL_TYPE_ADC:
- scanStr += num2str(config[i][%ChannelNumber]) + "/RSE,"
+ scanStr += num2str(config[i][%ChannelNumber]) + "/Diff,"
scanStr += num2str(NI_ADC_MIN) + "," + num2str(NI_ADC_MAX) + ","
scanStr += num2str(gain[i]) + ",0"
scanStr += ";"
and got it working as well.
So we should support all available methods.
- Add a popupmenus for DAC/pressure and user pressure device, default to RSE
- Check in DAP_CheckSettings that the selected method is also available
- Pass that down to HW_NI_PrepareAcq
- Document the choice in the labnotebok for DAC
- Document HW_NI_DIFFERENTIAL_SETUP