void PreStartHighSpeedAquisition() { try { LJV7IF_HIGH_SPEED_PRE_START_REQ req = new LJV7IF_HIGH_SPEED_PRE_START_REQ(); req.bySendPos = (byte)2; // @Point // # SendPos is used to specify which profile to start sending data from during high-speed communication. // # When "Overwrite" is specified for the operation when memory full and // "0: From previous send complete position" is specified for the send start position, // if the LJ-V continues to accumulate profiles, the LJ-V memory will become full, // and the profile at the previous send complete position will be overwritten with a new profile. // In this situation, because the profile at the previous send complete position is not saved, an error will occur. LJV7IF_PROFILE_INFO profileInfo = new LJV7IF_PROFILE_INFO(); rc = (Rc)NativeMethods.LJV7IF_PreStartHighSpeedDataCommunication(_currentDeviceId, ref req, ref profileInfo); CheckReturnValue(rc); _profileInfo = profileInfo; } catch (Exception) { throw; } }
/// <summary> /// Constructor /// </summary> public PreStartHighSpeedForm() { InitializeComponent(); // Field initialization _req = new LJV7IF_HIGH_SPEED_PRE_START_REQ(); }