ICP
1
|
#include <instapi_lib.h>
Public Member Functions | |
HRESULT | test () |
HRESULT | testicp () |
HRESULT | testlv () |
void | createSession (BSTR instrument, BSTR user_name, BSTR password, ULONG *session_id) |
void | deleteSession (ULONG session_id) |
void | getRole (ULONG session_id, BSTR *role) |
void | setRole (ULONG session_id, BSTR role) |
void | putMessage (ULONG session_id, BSTR time, BSTR severity, BSTR message) |
void | getMessages (ULONG session_id, LONG start_index, BSTR min_severity, VARIANT *times, VARIANT *severities, VARIANT *messages, LONG *end_index) |
void | getBlockNames (ULONG session_id, VARIANT *block_names) |
void | getBlockValue (ULONG session_id, BSTR block_name, VARIANT *block_value) |
void | getBlockSetpoint (ULONG session_id, BSTR block_name, VARIANT *setpoint_value) |
void | sendBlockSetpoint (ULONG session_id, BSTR block_name, VARIANT setpoint_value, bool push_button, bool use_external, VARIANT *results) |
void | getRunControl (ULONG session_id, BSTR block_name, VARIANT_BOOL *rc_value) |
void | setRunControl (ULONG session_id, BSTR block_name, VARIANT_BOOL rc_value) |
void | getRunControlLimit (ULONG session_id, BSTR block_name, VARIANT *limit_value, bool low) |
void | setRunControlLimit (ULONG session_id, BSTR block_name, VARIANT new_value, bool low) |
void | pushBlockButton (ULONG session_id, BSTR block_name, bool use_external, VARIANT *results) |
void | logBlocksNow (ULONG session_id, BSTR source) |
void | getLabviewValue (ULONG session_id, BSTR vi_name, BSTR control_name, VARIANT *value) |
void | setLabviewValue (ULONG session_id, BSTR vi_name, BSTR control_name, VARIANT value) |
void | setLabviewValueExt (ULONG session_id, BSTR vi_name, BSTR control_name, VARIANT value, VARIANT *results) |
void | callLabview (ULONG session_id, BSTR vi_name, VARIANT names, VARIANT values, VARIANT_BOOL reentrant, VARIANT *results) |
void | toggleViVisibility (ULONG session_id, BSTR vi_name, VARIANT_BOOL show) |
void | getViState (ULONG session_id, BSTR vi_name, VARIANT *value) |
void | startVi (ULONG session_id, BSTR vi_name) |
void | stopVi (ULONG session_id, BSTR vi_name) |
void | closeViFrontPanel (ULONG session_id, BSTR vi_name) |
void | getViNames (ULONG session_id, VARIANT *names) |
void | getRunState (ULONG session_id, BSTR *messages, LONG *status) |
void | beginRun (ULONG session_id, LONG period, VARIANT_BOOL wait, VARIANT_BOOL quiet, VARIANT_BOOL paused, BSTR *messages) |
void | abortRun (ULONG session_id, BSTR *messages) |
void | endRun (ULONG session_id, BSTR *messages) |
void | pauseRun (ULONG session_id, BSTR *messages) |
void | resumeRun (ULONG session_id, BSTR *messages) |
void | recoverRun (ULONG session_id, BSTR *messages) |
void | saveRun (ULONG session_id, BSTR *messages) |
void | updateCRPT (ULONG session_id, BSTR *messages) |
void | storeCRPT (ULONG session_id, BSTR *messages) |
void | getGoodFrames (ULONG session_id, VARIANT_BOOL curr_period, BSTR *messages, LONG *frames) |
void | getUamps (ULONG session_id, VARIANT_BOOL curr_period, BSTR *messages, DOUBLE *uamps) |
void | getMEvents (ULONG session_id, BSTR *messages, DOUBLE *mev) |
void | getCurrentPeriod (ULONG session_id, BSTR *messages, LONG *period, LONG *daq_period) |
void | getRunNumber (ULONG session_id, BSTR *messages, LONG *run_no) |
void | getTotalCounts (ULONG session_id, BSTR *messages, LONG *counts) |
void | snapshotCRPT (ULONG session_id, BSTR filename, LONG do_update, LONG do_pause, BSTR *messages) |
void | sumAllHistogramMemory (ULONG session_id, BSTR *messages, LONG *counts) |
void | sumAllSpectra (ULONG session_id, BSTR *messages, LONG *counts, LONG *bin_counts) |
void | setPeriod (ULONG session_id, LONG period_number, BSTR *messages) |
void | getSpectrum (ULONG session_id, LONG spectrum_no, LONG period, VARIANT_BOOL as_dist, VARIANT *time_channels, VARIANT *signal, LONG *sum, BSTR *messages) |
void | changeNumberOfSoftwarePeriods (ULONG session_id, LONG num_periods, BSTR *messages) |
void | getNumberOfPeriods (ULONG session_id, BSTR *messages, LONG *num_periods) |
void | vmeWriteValue (ULONG session_id, ULONG card_id, ULONG card_address, ULONG word_size, ULONG value, ULONG mode, BSTR *messages) |
void | clearSeciGraphs (ULONG session_id) |
void | changeSeciConfiguration (ULONG session_id, BSTR name, VARIANT_BOOL *result) |
void | isSeciBusy (ULONG session_id, VARIANT_BOOL *result) |
void | setRbNumber (ULONG session_id, VARIANT rb_no) |
void | getRbNumber (ULONG session_id, VARIANT *rb_no) |
void | setTitle (ULONG session_id, VARIANT title) |
void | setBeamlineParameter (ULONG session_id, VARIANT name, VARIANT value, VARIANT units) |
void | deleteBeamlineParameter (ULONG session_id, VARIANT name) |
void | deleteAllBeamlineParameters (ULONG session_id) |
void | getBeamlineParameter (ULONG session_id, BSTR name, BSTR *value, BSTR *units, BSTR *type) |
void | getBeamlineParameterNames (ULONG session_id, VARIANT *names) |
void | setSampleParameter (ULONG session_id, VARIANT name, VARIANT value, VARIANT units) |
void | deleteSampleParameter (ULONG session_id, VARIANT name) |
void | deleteAllSampleParameters (ULONG session_id) |
void | getSampleParameter (ULONG session_id, BSTR name, BSTR *value, BSTR *units, BSTR *type) |
void | getSampleParameterNames (ULONG session_id, VARIANT *names) |
void | getSeciConfig (ULONG session_id, BSTR *name) |
void | clearDatabaseLogs (ULONG session_id, int run_num) |
void | clearLogFiles (ULONG session_id, int run_num, BSTR path) |
void | getMeasurementLabel (ULONG session_id, BSTR id, BSTR *label) |
void | setMeasurementLabel (ULONG session_id, BSTR id, BSTR label) |
void | getMeasurementId (ULONG session_id, BSTR label, VARIANT_BOOL newId, BSTR *id) |
Static Public Member Functions | |
static COAUTHIDENTITY * | createIdentity (const std::string &user, const std::string &domain, const std::string &pass) |
static HRESULT | setIdentity (COAUTHIDENTITY *pidentity, IUnknown *pUnk) |
Private Types | |
typedef std::map< ULONG, std::string > | session_map_t |
typedef std::map< std::wstring, ViRef > | vi_map_t |
Private Member Functions | |
void | getViRef (BSTR vi_name, bool reentrant, LabVIEW::VirtualInstrumentPtr &vi) |
void | createViRef (BSTR vi_name, bool reentrant, LabVIEW::VirtualInstrumentPtr &vi) |
void | accessRuncontrol (ULONG session_id, BSTR block_name, VARIANT_BOOL new_value, VARIANT_BOOL *value, bool setvalue) |
void | accessLimits (ULONG session_id, BSTR block_name, VARIANT new_value, BSTR *value, bool setvalue, bool low) |
void | setBlockSetpoint (ULONG session_id, BSTR block_name, VARIANT setpoint_value, bool push_button, bool use_external, VARIANT *results) |
Private Attributes | |
session_map_t | m_session |
vi_map_t | m_vimap |
Definition at line 19 of file instapi_lib.h.
|
private |
Definition at line 22 of file instapi_lib.h.
|
private |
Definition at line 25 of file instapi_lib.h.
void InstAPILib::abortRun | ( | ULONG | session_id, |
BSTR * | messages | ||
) |
Definition at line 937 of file instapi_lib.cpp.
Referenced by Csession::abortRun().
|
private |
Definition at line 810 of file instapi_lib.cpp.
References getLabviewValue(), and setLabviewValue().
Referenced by getRunControlLimit(), and setRunControlLimit().
|
private |
Definition at line 746 of file instapi_lib.cpp.
References getLabviewValue(), and setLabviewValue().
Referenced by getRunControl(), and setRunControl().
void InstAPILib::beginRun | ( | ULONG | session_id, |
LONG | period, | ||
VARIANT_BOOL | wait, | ||
VARIANT_BOOL | quiet, | ||
VARIANT_BOOL | paused, | ||
BSTR * | messages | ||
) |
Definition at line 918 of file instapi_lib.cpp.
Referenced by Csession::beginRun().
void InstAPILib::callLabview | ( | ULONG | session_id, |
BSTR | vi_name, | ||
VARIANT | names, | ||
VARIANT | values, | ||
VARIANT_BOOL | reentrant, | ||
VARIANT * | results | ||
) |
Definition at line 484 of file instapi_lib.cpp.
References getViRef().
Referenced by Csession::callLabview(), and setLabviewValueExt().
void InstAPILib::changeNumberOfSoftwarePeriods | ( | ULONG | session_id, |
LONG | num_periods, | ||
BSTR * | messages | ||
) |
Definition at line 1270 of file instapi_lib.cpp.
Referenced by Csession::changeNumberOfSoftwarePeriods().
void InstAPILib::changeSeciConfiguration | ( | ULONG | session_id, |
BSTR | name, | ||
VARIANT_BOOL * | result | ||
) |
Definition at line 1666 of file instapi_lib.cpp.
Referenced by Csession::changeSeciConfiguration().
void InstAPILib::clearDatabaseLogs | ( | ULONG | session_id, |
int | run_num | ||
) |
Definition at line 1555 of file instapi_lib.cpp.
References se_clear_values().
Referenced by Csession::clearDatabaseLogs().
void InstAPILib::clearLogFiles | ( | ULONG | session_id, |
int | run_num, | ||
BSTR | path | ||
) |
Definition at line 1561 of file instapi_lib.cpp.
Referenced by Csession::clearLogFiles().
void InstAPILib::clearSeciGraphs | ( | ULONG | session_id | ) |
Definition at line 1653 of file instapi_lib.cpp.
Referenced by Csession::clearSeciGraphs().
void InstAPILib::closeViFrontPanel | ( | ULONG | session_id, |
BSTR | vi_name | ||
) |
Definition at line 647 of file instapi_lib.cpp.
References getViRef().
Referenced by Csession::closeViFrontPanel().
|
static |
Definition at line 40 of file instapi_lib.cpp.
Referenced by test().
void InstAPILib::createSession | ( | BSTR | instrument, |
BSTR | user_name, | ||
BSTR | password, | ||
ULONG * | session_id | ||
) |
|
private |
Definition at line 250 of file instapi_lib.cpp.
References m_vimap, ViRef::reentrant, and ViRef::vi_ref.
Referenced by getViRef().
void InstAPILib::deleteAllBeamlineParameters | ( | ULONG | session_id | ) |
Definition at line 1334 of file instapi_lib.cpp.
References setLabviewValue().
Referenced by Csession::deleteAllBeamlineParameters().
void InstAPILib::deleteAllSampleParameters | ( | ULONG | session_id | ) |
Definition at line 1445 of file instapi_lib.cpp.
References setLabviewValue().
Referenced by Csession::deleteAllSampleParameters().
void InstAPILib::deleteBeamlineParameter | ( | ULONG | session_id, |
VARIANT | name | ||
) |
Definition at line 1322 of file instapi_lib.cpp.
References setLabviewValue().
Referenced by Csession::deleteBeamlineParameter().
void InstAPILib::deleteSampleParameter | ( | ULONG | session_id, |
VARIANT | name | ||
) |
Definition at line 1433 of file instapi_lib.cpp.
References setLabviewValue().
Referenced by Csession::deleteSampleParameter().
void InstAPILib::deleteSession | ( | ULONG | session_id | ) |
Definition at line 27 of file instapi_lib.cpp.
References m_session.
Referenced by Csession::FinalRelease().
void InstAPILib::endRun | ( | ULONG | session_id, |
BSTR * | messages | ||
) |
Definition at line 951 of file instapi_lib.cpp.
Referenced by Csession::endRun().
void InstAPILib::getBeamlineParameter | ( | ULONG | session_id, |
BSTR | name, | ||
BSTR * | value, | ||
BSTR * | units, | ||
BSTR * | type | ||
) |
Definition at line 1382 of file instapi_lib.cpp.
References getLabviewValue().
Referenced by Csession::getBeamlineParameter().
void InstAPILib::getBeamlineParameterNames | ( | ULONG | session_id, |
VARIANT * | names | ||
) |
Definition at line 1342 of file instapi_lib.cpp.
References arrayVariantDimensions(), and getLabviewValue().
Referenced by Csession::getBeamlineParameterNames().
void InstAPILib::getBlockNames | ( | ULONG | session_id, |
VARIANT * | block_names | ||
) |
Definition at line 1638 of file instapi_lib.cpp.
Referenced by Csession::getBlockNames(), and logBlocksNow().
void InstAPILib::getBlockSetpoint | ( | ULONG | session_id, |
BSTR | block_name, | ||
VARIANT * | setpoint_value | ||
) |
Definition at line 717 of file instapi_lib.cpp.
References getLabviewValue(), se_get_block_details(), se_get_errmsg(), SEBLOCK_DETAILS::set_control(), and SEBLOCK_DETAILS::vi_name().
Referenced by Cblock::get_setpoint(), and Cblock::getSetpoint().
void InstAPILib::getBlockValue | ( | ULONG | session_id, |
BSTR | block_name, | ||
VARIANT * | block_value | ||
) |
Definition at line 697 of file instapi_lib.cpp.
References getLabviewValue(), SEBLOCK_DETAILS::read_control(), se_get_block_details(), se_get_errmsg(), and SEBLOCK_DETAILS::vi_name().
Referenced by Cblock::get_value(), Ctest::getBlockValue(), Cblock::getValue(), and logBlocksNow().
void InstAPILib::getCurrentPeriod | ( | ULONG | session_id, |
BSTR * | messages, | ||
LONG * | period, | ||
LONG * | daq_period | ||
) |
Definition at line 1105 of file instapi_lib.cpp.
Referenced by Csession::getCurrentPeriod().
void InstAPILib::getGoodFrames | ( | ULONG | session_id, |
VARIANT_BOOL | curr_period, | ||
BSTR * | messages, | ||
LONG * | frames | ||
) |
Definition at line 1049 of file instapi_lib.cpp.
Referenced by Csession::getGoodFrames().
void InstAPILib::getLabviewValue | ( | ULONG | session_id, |
BSTR | vi_name, | ||
BSTR | control_name, | ||
VARIANT * | value | ||
) |
Definition at line 283 of file instapi_lib.cpp.
References getViRef().
Referenced by accessLimits(), accessRuncontrol(), getBeamlineParameter(), getBeamlineParameterNames(), getBlockSetpoint(), getBlockValue(), Csession::getLabviewVar(), getRbNumber(), getSampleParameter(), and getSampleParameterNames().
void InstAPILib::getMeasurementId | ( | ULONG | session_id, |
BSTR | label, | ||
VARIANT_BOOL | newId, | ||
BSTR * | id | ||
) |
Definition at line 1618 of file instapi_lib.cpp.
References se_get_measurement_id(), and se_new_measurement().
Referenced by Csession::getMeasurementId().
void InstAPILib::getMeasurementLabel | ( | ULONG | session_id, |
BSTR | id, | ||
BSTR * | label | ||
) |
Definition at line 1592 of file instapi_lib.cpp.
References se_get_measurement_label().
Referenced by Csession::getMeasurementLabel().
void InstAPILib::getMessages | ( | ULONG | session_id, |
LONG | start_index, | ||
BSTR | min_severity, | ||
VARIANT * | times, | ||
VARIANT * | severities, | ||
VARIANT * | messages, | ||
LONG * | end_index | ||
) |
Definition at line 221 of file instapi_lib.cpp.
Referenced by Csession::getMessages().
void InstAPILib::getMEvents | ( | ULONG | session_id, |
BSTR * | messages, | ||
DOUBLE * | mev | ||
) |
Definition at line 1091 of file instapi_lib.cpp.
Referenced by Csession::getMEvents().
void InstAPILib::getNumberOfPeriods | ( | ULONG | session_id, |
BSTR * | messages, | ||
LONG * | num_periods | ||
) |
Definition at line 1292 of file instapi_lib.cpp.
Referenced by Csession::getNumberOfPeriods().
void InstAPILib::getRbNumber | ( | ULONG | session_id, |
VARIANT * | rb_no | ||
) |
Definition at line 1204 of file instapi_lib.cpp.
References getLabviewValue().
Referenced by Csession::getRBNumber().
void InstAPILib::getRole | ( | ULONG | session_id, |
BSTR * | role | ||
) |
Definition at line 32 of file instapi_lib.cpp.
Referenced by Csession::get_role().
void InstAPILib::getRunControl | ( | ULONG | session_id, |
BSTR | block_name, | ||
VARIANT_BOOL * | rc_value | ||
) |
Definition at line 736 of file instapi_lib.cpp.
References accessRuncontrol().
Referenced by Cblock::get_runcontrol().
void InstAPILib::getRunControlLimit | ( | ULONG | session_id, |
BSTR | block_name, | ||
VARIANT * | limit_value, | ||
bool | low | ||
) |
Definition at line 876 of file instapi_lib.cpp.
References accessLimits().
Referenced by Cblock::get_highlimit(), and Cblock::get_lowlimit().
void InstAPILib::getRunNumber | ( | ULONG | session_id, |
BSTR * | messages, | ||
LONG * | run_no | ||
) |
Definition at line 1119 of file instapi_lib.cpp.
Referenced by Csession::getRunNumber(), and logBlocksNow().
void InstAPILib::getRunState | ( | ULONG | session_id, |
BSTR * | messages, | ||
LONG * | status | ||
) |
Definition at line 904 of file instapi_lib.cpp.
Referenced by Csession::getRunState().
void InstAPILib::getSampleParameter | ( | ULONG | session_id, |
BSTR | name, | ||
BSTR * | value, | ||
BSTR * | units, | ||
BSTR * | type | ||
) |
Definition at line 1493 of file instapi_lib.cpp.
References getLabviewValue().
Referenced by Csession::getSampleParameter().
void InstAPILib::getSampleParameterNames | ( | ULONG | session_id, |
VARIANT * | names | ||
) |
Definition at line 1453 of file instapi_lib.cpp.
References arrayVariantDimensions(), and getLabviewValue().
Referenced by Csession::getSampleParameterNames().
void InstAPILib::getSeciConfig | ( | ULONG | session_id, |
BSTR * | name | ||
) |
Definition at line 1547 of file instapi_lib.cpp.
References se_get_seci_config().
Referenced by Csession::getSeciConfig().
void InstAPILib::getSpectrum | ( | ULONG | session_id, |
LONG | spectrum_no, | ||
LONG | period, | ||
VARIANT_BOOL | as_dist, | ||
VARIANT * | time_channels, | ||
VARIANT * | signal, | ||
LONG * | sum, | ||
BSTR * | messages | ||
) |
Definition at line 1248 of file instapi_lib.cpp.
Referenced by Csession::getSpectrum().
void InstAPILib::getTotalCounts | ( | ULONG | session_id, |
BSTR * | messages, | ||
LONG * | counts | ||
) |
Definition at line 1133 of file instapi_lib.cpp.
Referenced by Csession::getTotalCounts().
void InstAPILib::getUamps | ( | ULONG | session_id, |
VARIANT_BOOL | curr_period, | ||
BSTR * | messages, | ||
DOUBLE * | uamps | ||
) |
Definition at line 1070 of file instapi_lib.cpp.
Referenced by Csession::getUamps().
void InstAPILib::getViNames | ( | ULONG | session_id, |
VARIANT * | names | ||
) |
Definition at line 669 of file instapi_lib.cpp.
Referenced by Csession::getViNames().
|
private |
Definition at line 225 of file instapi_lib.cpp.
References createViRef(), and m_vimap.
Referenced by callLabview(), closeViFrontPanel(), getLabviewValue(), getViState(), setLabviewValue(), startVi(), stopVi(), and toggleViVisibility().
void InstAPILib::getViState | ( | ULONG | session_id, |
BSTR | vi_name, | ||
VARIANT * | value | ||
) |
Definition at line 569 of file instapi_lib.cpp.
References getViRef().
Referenced by Csession::getViState().
void InstAPILib::isSeciBusy | ( | ULONG | session_id, |
VARIANT_BOOL * | result | ||
) |
Definition at line 1679 of file instapi_lib.cpp.
Referenced by Csession::isSeciBusy().
void InstAPILib::logBlocksNow | ( | ULONG | session_id, |
BSTR | source | ||
) |
Definition at line 305 of file instapi_lib.cpp.
References getBlockNames(), getBlockValue(), getRunNumber(), se_get_errmsg(), and se_log_values_async().
Referenced by Csession::logBlocksNow().
void InstAPILib::pauseRun | ( | ULONG | session_id, |
BSTR * | messages | ||
) |
Definition at line 965 of file instapi_lib.cpp.
Referenced by Csession::pauseRun().
void InstAPILib::pushBlockButton | ( | ULONG | session_id, |
BSTR | block_name, | ||
bool | use_external, | ||
VARIANT * | results | ||
) |
Definition at line 518 of file instapi_lib.cpp.
References SEBLOCK_DETAILS::button_control(), se_get_block_details(), se_get_errmsg(), setLabviewValue(), setLabviewValueExt(), and SEBLOCK_DETAILS::vi_name().
Referenced by Cblock::pushSetButton(), and Cblock::pushSetButtonExt().
void InstAPILib::putMessage | ( | ULONG | session_id, |
BSTR | time, | ||
BSTR | severity, | ||
BSTR | message | ||
) |
Definition at line 217 of file instapi_lib.cpp.
Referenced by Csession::putMessage().
void InstAPILib::recoverRun | ( | ULONG | session_id, |
BSTR * | messages | ||
) |
Definition at line 993 of file instapi_lib.cpp.
Referenced by Csession::recoverRun().
void InstAPILib::resumeRun | ( | ULONG | session_id, |
BSTR * | messages | ||
) |
Definition at line 979 of file instapi_lib.cpp.
Referenced by Csession::resumeRun().
void InstAPILib::saveRun | ( | ULONG | session_id, |
BSTR * | messages | ||
) |
Definition at line 1007 of file instapi_lib.cpp.
Referenced by Csession::saveRun().
void InstAPILib::sendBlockSetpoint | ( | ULONG | session_id, |
BSTR | block_name, | ||
VARIANT | setpoint_value, | ||
bool | push_button, | ||
bool | use_external, | ||
VARIANT * | results | ||
) |
Definition at line 299 of file instapi_lib.cpp.
References setBlockSetpoint().
Referenced by Cblock::enterSetpointOnly(), Cblock::enterSetpointOnlyExt(), Cblock::put_setpoint(), Cblock::setValue(), and Cblock::setValueExt().
void InstAPILib::setBeamlineParameter | ( | ULONG | session_id, |
VARIANT | name, | ||
VARIANT | value, | ||
VARIANT | units | ||
) |
Definition at line 1306 of file instapi_lib.cpp.
References setLabviewValue().
Referenced by Csession::setBeamlineParameter().
|
private |
Definition at line 379 of file instapi_lib.cpp.
References SEBLOCK_DETAILS::button_control(), se_get_block_details(), se_get_errmsg(), se_set_block_value(), SEBLOCK_DETAILS::set_control(), setLabviewValue(), setLabviewValueExt(), and SEBLOCK_DETAILS::vi_name().
Referenced by sendBlockSetpoint().
|
static |
Definition at line 53 of file instapi_lib.cpp.
Referenced by test().
void InstAPILib::setLabviewValue | ( | ULONG | session_id, |
BSTR | vi_name, | ||
BSTR | control_name, | ||
VARIANT | value | ||
) |
Definition at line 430 of file instapi_lib.cpp.
References getViRef().
Referenced by accessLimits(), accessRuncontrol(), deleteAllBeamlineParameters(), deleteAllSampleParameters(), deleteBeamlineParameter(), deleteSampleParameter(), pushBlockButton(), setBeamlineParameter(), setBlockSetpoint(), Csession::setLabviewVar(), setRbNumber(), setSampleParameter(), and setTitle().
void InstAPILib::setLabviewValueExt | ( | ULONG | session_id, |
BSTR | vi_name, | ||
BSTR | control_name, | ||
VARIANT | value, | ||
VARIANT * | results | ||
) |
Definition at line 452 of file instapi_lib.cpp.
References callLabview().
Referenced by pushBlockButton(), setBlockSetpoint(), and Csession::setLabviewVarExt().
void InstAPILib::setMeasurementLabel | ( | ULONG | session_id, |
BSTR | id, | ||
BSTR | label | ||
) |
Definition at line 1603 of file instapi_lib.cpp.
References se_set_measurement_label().
Referenced by Csession::setMeasurementLabel().
void InstAPILib::setPeriod | ( | ULONG | session_id, |
LONG | period_number, | ||
BSTR * | messages | ||
) |
Definition at line 1212 of file instapi_lib.cpp.
Referenced by Csession::setPeriod().
void InstAPILib::setRbNumber | ( | ULONG | session_id, |
VARIANT | rb_no | ||
) |
Definition at line 1196 of file instapi_lib.cpp.
References setLabviewValue().
Referenced by Csession::setRBNumber().
void InstAPILib::setRole | ( | ULONG | session_id, |
BSTR | role | ||
) |
Definition at line 36 of file instapi_lib.cpp.
Referenced by Csession::put_role().
void InstAPILib::setRunControl | ( | ULONG | session_id, |
BSTR | block_name, | ||
VARIANT_BOOL | rc_value | ||
) |
Definition at line 741 of file instapi_lib.cpp.
References accessRuncontrol().
Referenced by Cblock::put_runcontrol().
void InstAPILib::setRunControlLimit | ( | ULONG | session_id, |
BSTR | block_name, | ||
VARIANT | new_value, | ||
bool | low | ||
) |
Definition at line 899 of file instapi_lib.cpp.
References accessLimits().
Referenced by Cblock::put_highlimit(), and Cblock::put_lowlimit().
void InstAPILib::setSampleParameter | ( | ULONG | session_id, |
VARIANT | name, | ||
VARIANT | value, | ||
VARIANT | units | ||
) |
Definition at line 1417 of file instapi_lib.cpp.
References setLabviewValue().
Referenced by Csession::setSampleParameter().
void InstAPILib::setTitle | ( | ULONG | session_id, |
VARIANT | title | ||
) |
Definition at line 1235 of file instapi_lib.cpp.
References setLabviewValue().
Referenced by Csession::setTitle().
void InstAPILib::snapshotCRPT | ( | ULONG | session_id, |
BSTR | filename, | ||
LONG | do_update, | ||
LONG | do_pause, | ||
BSTR * | messages | ||
) |
Definition at line 1147 of file instapi_lib.cpp.
Referenced by Csession::snapshotCRPT().
void InstAPILib::startVi | ( | ULONG | session_id, |
BSTR | vi_name | ||
) |
Definition at line 594 of file instapi_lib.cpp.
References getViRef().
Referenced by Csession::startVi().
void InstAPILib::stopVi | ( | ULONG | session_id, |
BSTR | vi_name | ||
) |
Definition at line 620 of file instapi_lib.cpp.
References getViRef().
Referenced by Csession::stopVi().
void InstAPILib::storeCRPT | ( | ULONG | session_id, |
BSTR * | messages | ||
) |
Definition at line 1035 of file instapi_lib.cpp.
Referenced by Csession::storeCRPT().
void InstAPILib::sumAllHistogramMemory | ( | ULONG | session_id, |
BSTR * | messages, | ||
LONG * | counts | ||
) |
Definition at line 1161 of file instapi_lib.cpp.
Referenced by Csession::sumAllHistogramMemory().
void InstAPILib::sumAllSpectra | ( | ULONG | session_id, |
BSTR * | messages, | ||
LONG * | counts, | ||
LONG * | bin_counts | ||
) |
Definition at line 1175 of file instapi_lib.cpp.
Referenced by Csession::sumAllSpectra().
HRESULT InstAPILib::test | ( | void | ) |
A method for checking that the API can communicate with the ICP on a remote machine.
Definition at line 73 of file instapi_lib.cpp.
References createIdentity(), and setIdentity().
HRESULT InstAPILib::testicp | ( | void | ) |
A method for checking that the API can communicate with the ICP.
Definition at line 122 of file instapi_lib.cpp.
HRESULT InstAPILib::testlv | ( | void | ) |
A method for checking that the API can communicate with LabVIEW.
Definition at line 148 of file instapi_lib.cpp.
void InstAPILib::toggleViVisibility | ( | ULONG | session_id, |
BSTR | vi_name, | ||
VARIANT_BOOL | show | ||
) |
Definition at line 547 of file instapi_lib.cpp.
References getViRef().
Referenced by Csession::toggleViVisibility().
void InstAPILib::updateCRPT | ( | ULONG | session_id, |
BSTR * | messages | ||
) |
Definition at line 1021 of file instapi_lib.cpp.
Referenced by Csession::updateCRPT().
void InstAPILib::vmeWriteValue | ( | ULONG | session_id, |
ULONG | card_id, | ||
ULONG | card_address, | ||
ULONG | word_size, | ||
ULONG | value, | ||
ULONG | mode, | ||
BSTR * | messages | ||
) |
Definition at line 1528 of file instapi_lib.cpp.
Referenced by Csession::vmeWriteValue().
|
private |
Definition at line 23 of file instapi_lib.h.
Referenced by createSession(), and deleteSession().
|
private |
Definition at line 26 of file instapi_lib.h.
Referenced by createViRef(), and getViRef().