JoeScan.JCamNet Namespace

Scanner Members

The Scanner type exposes the following members.

Methods


  Name Description
Public method BeginGetProfile()()()()
Send a request to the scanner to start the a profile download. This can be used to parallelize the transfer of data from multiple scanners. This API must be followed by the EndGetProfile()()()() method call or the scanner communications stream will be corrupted.
Public method BeginGetProfile(Int32)
Send a request to the scanner to start the a profile download. This can be used to parallelize the transfer of data from multiple scanners. This API must be followed by the EndGetProfile()()()() method call or the scanner communications stream will be corrupted.

Remarks


Only supported with firmware 971 and above. Use BeginGetProfile()()()() instead for older firmware.
Public method BeginGetQueuedProfiles()()()()
Send a request to the scanner to start the profile download. This can be used to parallelize the transfer of data from multiple scanners. This API must be followed by the EndGetQueuedProfiles() method call or the scanner communications stream will be corrupted.
Public method BeginGetQueuedProfiles(Int32)
Send a request to the scanner to start the profile download. This can be used to parallelize the transfer of data from multiple scanners. This method must be followed by the EndGetQueuedProfiles() method call or the scanner communications stream will be corrupted.
Public method Static member Connect(IPAddress)
Connect to a JoeScan scan head at the specified IP address
Public method Static member Connect(IPAddress, Int16)
Connect to a JoeScan scan head by specifying the base IP address and cable ID.
Public method Static member Connect(IPAddress, array<Int16>[]()[][])
Connect to a JoeScan scan head by specifying the base IP address and an array of cable IDs.
Public method Dispose()()()()
Dispose the scanner object.
Public method EndGetProfile
Complete the BeginGetProfile call and retrieve the profile. This method must be proceded by a call to BeginGetProfile()()()() or BeginGetProfile()()()()
Public method EndGetQueuedProfiles
Complete the GetQueuedProfiles call and retrieve the profiles. This method must be proceded by a call to BeginGetQueuedProfiles()()()() or BeginGetQueuedProfiles()()()()
Public method EnterEncoderSyncMode
Begin running in encoder synchronized scan mode.
Public method EnterPulseSyncMode
Begin running in pulse synchronized scan mode
Public method EnterTimedSyncMode
Begin running in time synchronized scan mode.
Public method Exit
Public method ExitSyncMode
Exit synchronized scanning mode (both time and encoder modes).
Public method GetDiagnosticImageScan
Retrieve an image of the laser exposure and the corresponding scan, while providing custom exposure times. This function requires firmware revision 13817 and higher.
Public method GetDiagnosticScan
Request a raw, untransformed scan from the scanner while directly specifying the laser and camera exposure times. This function requires firmware revision 13817 and higher.
Public method GetImage
Request a camera image from the scanner. This can be useful when debugging issues where the scanner is encountering unexpected interference or unable to see the laser due to objects blocking the view of the scanner.
Public method GetLaserImage(Int32, ScannerImage%, RawScan%)
Retrieve an image of the laser exposure and the corresponding scan.
Public method GetLaserImage(ScannerImage%, RawScan%)
Retrieve an image of the laser exposure and the corresponding scan.
Public method GetOldCalibrationValues
Get an array of previous calibration Values from the head
Public method GetParameters
Retrieve the parameters file from the scanner.
Public method GetProfile()()()()
Request a profile, including transformed data.
Public method GetProfile(Int32)
Request a profile, including transformed data.
Public method GetQueuedProfiles()()()()
Retrieve the queued profiles from the scanner when running in synchronized scanning mode.
Public method GetQueuedProfiles(Int32)
Retrieve the queued profiles from the scanner when running in synchronized scanning mode.
Public method GetScan()()()()
Request a raw, untransformed scan from the scanner with default laser 0.
Public method GetScan(UInt32)
Request a raw, untransformed scan from the scanner.
Public method GetStatusDescription
Get a human readable description for a status value index. See GetStatusValues()()()() for more information.
Public method GetStatusValues
Get an array of status values supported by this head.
Public method Static member InitializePerformanceCounters
Install/Reinstall the performance counters for this class library.
Public method OverrideLaserAutoexposure
Override the laser autoexposure parameters from param.dat. The values will be lost if a new param.dat is loaded, or if the scanner is power-cycled.
Public method OverrideScanWindow
Programmatically override the scan window settings from the param.dat file.
Public method OverrideSyncSettings
Programmatically override the sync scanning parameters from the param.dat file. Values will be lost if a new param.dat file is loaded, or if the scanner is power-cycled. Must be called on each scanner whose parameters are to be overridden.
Public method SetAlternatingExposure
Set the alternating exposure parameters. Only works in sync mode. Settings are lost when exiting sync mode and must be resent after re-entering syncmode.
Public method SetEncoder
Reset the encoder count.
Public method SetOrientation
Sends a position calibration for the selected laser to the scanner.
Public method SetParameters
Send a parameter file to the scanner.
Public method StartPulseMaster
Tell the scanner to generate a pulse train on Start Scan I/O
Public method StopPulses
Stop the pulse train, but the PulseMaster scanner will still drive a constant value to the Start Scan output.

Properties


  Name Description
Public property CableID
The scanner cable ID
Public property FpgaVersion
The version of the FPGA program on the scanner
Public property InchesPerPulse
Get the InchesPerPulse value (encoder scale used to calculate the profile Z component).
Public property IPAddress
Get the IP address used to connect to the scanner.
Public property LaserCount
The number of lasers in this scanner
Public property LaserUpstream
Is the laser upstream to the direction of the belt or chain.
Public property NumLasers
Number of lasers in the scanner
Public property ReceiveTimeOut
The TCP timeout for receiving data from the scanner
Public property SendTimeOut
The TCP timeout for sending data to the scanner
Public property SerialNumber
Scanner serial number
Public property ServerVersion
Version of the scan server software
Public property SyncMode
Is true if the scan head is in Sync Mode.
Public property WindowBottom
Bottom window bound of the scanner.
Public property WindowLeft
Left window bound of the scanner
Public property WindowRight
Right window bound of the scanner
Public property WindowTop
Top window bound of the scanner.