Measurement-computing UL for NI LabVIEW Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Hardware Measurement-computing UL for NI LabVIEW. Measurement Computing UL for NI LabVIEW User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 109
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes

Resumo do Conteúdo

Página 2 - NI LabVIEW™

Overview of the Universal Library VIs Counter VIs Counter VIs The counter VIs load, read, and configure counters. There are four types of counter ch

Página 3

Universal Library Virtual Instruments (VIs) Miscellaneous VIs InfoType = DIGITALINFO  DIBASEADR - Base address  DIINITIALIZED - TRUE (non-zero) o

Página 4 - Table of Contents

Universal Library Virtual Instruments (VIs) Miscellaneous VIs GetStatus.VI Changed R5.4 ID Returns the status of a background operation that is curr

Página 5

Universal Library Virtual Instruments (VIs) Miscellaneous VIs CurCount Specifies how many points have been input or output. It can be used to gauge

Página 6

Universal Library Virtual Instruments (VIs) Miscellaneous VIs SelChan.VI Selects data for one channel from array with interleaved data for several c

Página 7 - Installing the software

Universal Library Virtual Instruments (VIs) Miscellaneous VIs SetCfg.VI Sets a configuration option for a board. The configuration information for a

Página 8 - Analog I/O VIs

Universal Library Virtual Instruments (VIs) Miscellaneous VIs  BIDMACHAN - DMA channel  BIINITIALIZED - TRUE (non-zero) or FALSE (0)  BICLOCK -

Página 9

Universal Library Virtual Instruments (VIs) Miscellaneous VIs StopBg.VI Changed R5.4 ID Stops any background operation that is in progress for the s

Página 10 - Counter VIs

Universal Library Virtual Instruments (VIs) Miscellaneous VIs InByte.VI / InWord.VI Reads a byte or a word from a hardware register on a board. Sum

Página 11 - Streamer file VIs

Universal Library Virtual Instruments (VIs) Miscellaneous VIs OutByte.VI / OutWord.VI Writes a byte or a word to a hardware register on a board. Su

Página 12 - Miscellaneous VIs

Measurement Computing Corporation 10 Commerce Way Suite 1008 Norton, Massachusetts 02766 (508) 946-5100 Fax: (508) 946-9500 E-mail: [email protected]

Página 13

Overview of the Universal Library VIs Digital I/O VIs Digital I/O VIs To gain full access to the power of these digital I/O VIs, you should refer to

Página 14

Overview of the Universal Library VIs Memory board VIs Memory board VIs The memory board VIs read from, write to, and control memory boards (MEGA-FI

Página 15

Overview of the Universal Library VIs Miscellaneous VIs OutByte.VI - Write one byte. Writes one byte of data to the specified port. OutWord.VI - Wri

Página 16

4 How to use the NI LabVIEW Extensions (VIs) Using the Library with NI LabVIEW The Universal Library NI LabVIEW extensions provide a complete set of

Página 17 - Analog Input VIs

How to use the NI LabVIEW Extensions (VIs) UL Extension VI example programs UL functi

Página 18 - into a readable string

How to use the NI LabVIEW Extensions (VIs) UL Extension VI example programs XCSTORE

Página 19 - AInScBg.VI

5 Universal Library Virtual Instruments (VIs) Analog Input VIs AIn.VI Reads an A/D input channel. This VI reads the specified A/D channel from the spe

Página 20

Universal Library Virtual Instruments (VIs) Analog Input VIs Range input values Range Input value Range Input value ±20 V 27 0 to 5 V 14 ±10 V

Página 21 - AInScFg.VI

Universal Library Virtual Instruments (VIs) Analog Input VIs AInScBg.VI Changed R3.3 ID, R5.4 ID' Scans a range of A/D channels in the backgrou

Página 22

Universal Library for NI LabVIEW™ User’s Guide Document Revision 9, March, 2007  Copyright 2007, Measurement Computing Corporation

Página 23 - APretrBg.VI

Universal Library Virtual Instruments (VIs) Analog Input VIs Rate (input) This is the rate at which scans are triggered. If you are sampling four c

Página 24

Universal Library Virtual Instruments (VIs) Analog Input VIs AInScFg.VI Changed R3.3 ID, R5.4 ID Scans a range of A/D channels in the foreground and

Página 25 - APretrFg.VI

Universal Library Virtual Instruments (VIs) Analog Input VIs Caution! You will generate an error if you specify a total A/D rate beyond the capabil

Página 26

Universal Library Virtual Instruments (VIs) Analog Input VIs APretrBg.VI Waits for a trigger to occur and then returns a specified number of analog

Página 27 - ATrigger.VI

Universal Library Virtual Instruments (VIs) Analog Input VIs PretrigCount Specifies the number of samples before the trigger that will be returned.

Página 28 - ALoadQue.VI

Universal Library Virtual Instruments (VIs) Analog Input VIs APretrFg.VI Waits for a trigger to occur and then returns a specified number of analog

Página 29 - OptAIn.VI

Universal Library Virtual Instruments (VIs) Analog Input VIs Range If the selected A/D board does not have a programmable gain feature, this argume

Página 30

Universal Library Virtual Instruments (VIs) Analog Input VIs ATrigger.VI Waits for a specified analog input channel to go above or below a specifie

Página 31 - output of this VI must

Universal Library Virtual Instruments (VIs) Analog Input VIs ALoadQue.VI Loads the A/D board's channel/gain queue. This VI only works with A/D

Página 32 - SetTrig.VI

Universal Library Virtual Instruments (VIs) Analog Input VIs OptAIn.VI Changed R3.3ID Generates option input for AInScBg.VI or AInScFg.VI. Rev.3.3:

Página 33 - (unsigned)

Your new Measurement Computing product comes with a fantastic extra — Management committed to your satisfaction! Thank you for choosing a Measurement

Página 34

Universal Library Virtual Instruments (VIs) Analog Input VIs ExtMemory Data is returned to a data buffer (array). EXTMEMORY causes the command to s

Página 35

Universal Library Virtual Instruments (VIs) Analog Input VIs AInScanOptions All of the inputs are Anded together and the result is passed to this

Página 36 - TInScan.VI

Universal Library Virtual Instruments (VIs) Analog Input VIs SetTrig.VI Selects the trigger source and sets up its parameters. This trigger is used

Página 37 - A/D Range – IMPORTANT

Universal Library Virtual Instruments (VIs) Analog Input VIs Trigger Source Type Explanation Digital TRIG_HIGH A/D conversions are enabled when the

Página 38 - Analog Output VIs

Universal Library Virtual Instruments (VIs) Analog Input VIs TIn.VI Changed R3.3 ID Reads a temperature input channel, linearizes it according to th

Página 39 - AOutScFg.VI

Universal Library Virtual Instruments (VIs) Analog Input VIs Note on CJC Channel: The CJC channel is set in the InstaCal program. If you have multip

Página 40

Universal Library Virtual Instruments (VIs) Analog Input VIs TInScan.VI Changed R3.3 ID Reads a range of temperature input channels, linearizes them

Página 41 - AOutScBg.VI

Universal Library Virtual Instruments (VIs) Analog Input VIs ErrCode Error code returned from the Universal Library. Zero if no error occurred. Use

Página 42

Universal Library Virtual Instruments (VIs) Analog Output VIs Analog Output VIs AOut.VI Sets the value of a D/A output. Summary: Inputs: BoardNum

Página 43 - Signal conditioning VIs

Universal Library Virtual Instruments (VIs) Analog Output VIs AOutScFg.VI Outputs the values to a range of D/A channels in the foreground. Summary:

Página 44 - ACnvPrDt.VI

Table of Contents Introducing the Universal Library for LabVIEW™... Installing and Configuring UL for LabVIE

Página 45 - ACal.VI

Universal Library Virtual Instruments (VIs) Analog Output VIs Simultaneous When this option is set (True) (if the board supports it and the approp

Página 46 - FromEng.VI

Universal Library Virtual Instruments (VIs) Analog Output VIs AOutScBg.VI Outputs the values to a range of D/A channels in the background. This VI c

Página 47 - ToEng.VI

Universal Library Virtual Instruments (VIs) Analog Output VIs Continuous This option (True) can only be used with boards which support interrupt, D

Página 48 - ScaleArr.VI

Universal Library Virtual Instruments (VIs) Signal conditioning VIs Signal conditioning VIs ACvtData.VI Changed R3.3 RW (MOD) Converts the raw data

Página 49 - ScalePnt.VI

Universal Library Virtual Instruments (VIs) Signal conditioning VIs ACnvPrDt.VI Changed R3.3 RW (MOD) Converts the raw data collected by APretrFg.V

Página 50

Universal Library Virtual Instruments (VIs) Signal conditioning VIs ACal.VI New R3.3 Calibrates the raw data collected by AInScBg.VI or AInScFg.VI f

Página 51 - C8254Cfg.VI

Universal Library Virtual Instruments (VIs) Signal conditioning VIs FromEng.VI Changed R5.4 ID, R7.1 ID Performs the following conversion operatio

Página 52 - C7266Config.VI

Universal Library Virtual Instruments (VIs) Signal conditioning VIs ToEng.VI Changed R5.4 ID Converts a single A/D count value to an equivalent vo

Página 53

Universal Library Virtual Instruments (VIs) Signal conditioning VIs ScaleArr.VI Scales raw data from an entire array to a user-specified range. Summ

Página 54 - C8536Cfg.VI

Universal Library Virtual Instruments (VIs) Signal conditioning VIs ScalePnt.VI Scales raw data point to a user-specified range. Summary: Inputs:

Página 55 - C8536Init.VI

Universal Library for NI LabVIEW™ User's Guide DBitIn.VI...

Página 56 - C9513Config.VI

Universal Library Virtual Instruments (VIs) Counter VIs Counter VIs The Universal Library for NI LabVIEW extensions provides VIs for the initializat

Página 57

Universal Library Virtual Instruments (VIs) Counter VIs C8254Cfg.VI Configures an 8254 counter for desired operation. This VI can only be used with

Página 58

Universal Library Virtual Instruments (VIs) Counter VIs C7266Config.VI Configures a 7266 counter for desired operation. This function can only be us

Página 59 - C9513Init.VI

Universal Library Virtual Instruments (VIs) Counter VIs MODULO_N - In modulo-n mode, an upper limit is set by loading the PRESET register with a max

Página 60

Universal Library Virtual Instruments (VIs) Counter VIs C8536Cfg.VI Configures an 8536 counter for desired operation. This VI can only be used with

Página 61 - CFreqIn.VI

Universal Library Virtual Instruments (VIs) Counter VIs C8536Init.VI Initializes the counter linking features of an 8536 counter chip. Refer to the

Página 62 - SigSource

Universal Library Virtual Instruments (VIs) Counter VIs C9513Config.VI Sets all of the configurable options of a 9513 counter. Summary: Inputs: Bo

Página 63

Universal Library Virtual Instruments (VIs) Counter VIs CountEdge The edge to count. Refer to as Source Edge in 9513 data book. Corresponds to the

Página 64 - CIn32.VI

Universal Library Virtual Instruments (VIs) Counter VIs OutputControl Corresponds to 9513 description in Counter Mode Register Description. ALWAYSL

Página 65 - CLoad.VI

Universal Library Virtual Instruments (VIs) Counter VIs C9513Init.VI Initializes all of the chip level features of a 9513 counter chip. Summary: In

Página 66 - CLoad32.VI

1 Introducing the Universal Library for LabVIEW™ With the Universal Library for LabVIEW (UL for LabVIEW) software, you can construct your own LabVIEW

Página 67 - CStatus.VI

Universal Library Virtual Instruments (VIs) Counter VIs FREQ3 F3 FREQ4 F4 FREQ5 F5 Compare1 Corresponds to 9513 description in Counter Mode R

Página 68 - CStore.VI

Universal Library Virtual Instruments (VIs) Counter VIs CFreqIn.VI Measures the frequency of a signal. This VI can only be used with 9513 counters,

Página 69

Universal Library Virtual Instruments (VIs) Counter VIs Notes: This function requires an electrical connection between counter 4 output and counter

Página 70

Universal Library Virtual Instruments (VIs) Counter VIs CIn.VI Reads the current count from a counter. Summary: Inputs: BoardNum [U32] - The board

Página 71 - DBitOut.VI

Universal Library Virtual Instruments (VIs) Counter VIs CIn32.VI Reads the current count from a counter and returns it as a 32-bit integer. Summary:

Página 72 - DCfgBit.VI

Universal Library Virtual Instruments (VIs) Counter VIs CLoad.VI Loads the specified counter's register with a count value. The counter and reg

Página 73 - DCfgPort.VI

Universal Library Virtual Instruments (VIs) Counter VIs CLoad32.VI Loads the specified counter’s COUNT, PRESET or PRESCALER register with a count. S

Página 74

Universal Library Virtual Instruments (VIs) Counter VIs CStatus.VI Returns status information about the specified counter (7266 counters only) Summa

Página 75

Universal Library Virtual Instruments (VIs) Counter VIs CStore.VI Changed R4.0 RW (MOD) Installs an interrupt handler that will store the current co

Página 76 - DInScBg.VI

Universal Library Virtual Instruments (VIs) Counter VIs Note: Specifying IntCount to be a non-zero value and failing to allocate the proper sized ar

Página 77

2 Installing and Configuring UL for LabVIEW This chapter explains how to install the software on your computer, and how to configure the software for

Página 78 - DInScFg.VI

Universal Library Virtual Instruments (VIs) Digital I/O VIs Digital I/O VIs DBitIn.VI Reads the state of a single digital input bit. This VI treats

Página 79 - DOut.VI

Universal Library Virtual Instruments (VIs) Digital I/O VIs DBitOut.VI Sets the state of a single digital output bit. This VI treats all of the DIO

Página 80 - DOutScBg.VI

Universal Library Virtual Instruments (VIs) Digital I/O VIs DCfgBit.VI Configures a specific digital bit within a digital port for input or output.

Página 81

Universal Library Virtual Instruments (VIs) Digital I/O VIs DCfgPort.VI Configures a digital port as Input or Output. This mode is primarily for use

Página 82 - DOutScFg.VI

Universal Library Virtual Instruments (VIs) Digital I/O VIs without affecting the value at FIRSTPORTA. For this reason, this function is usually cal

Página 83 - Streamer File VIs

Universal Library Virtual Instruments (VIs) Digital I/O VIs DIn.VI Reads a digital input port. Inputs: BoardNum [U32] - The board number assigned

Página 84

Universal Library Virtual Instruments (VIs) Digital I/O VIs DInScBg.VI Performs multiple reads of digital input port of a high speed digital port on

Página 85 - FileInfo.VI

Universal Library Virtual Instruments (VIs) Digital I/O VIs Context Data structure containing information from a background operation. Some of the

Página 86 - FilePret.VI

Universal Library Virtual Instruments (VIs) Digital I/O VIs DInScFg.VI Multiple reads of digital input port of a high-speed digital port on a board

Página 87

Universal Library Virtual Instruments (VIs) Digital I/O VIs DOut.VI Writes a byte to a digital output port. Inputs: BoardNum [U32] - The board num

Página 88 - FileRead.VI

3 Overview of the Universal Library VIs The Universal Library for LabVIEW contains a set of low-level VIs that you "wire" together to build

Página 89

Universal Library Virtual Instruments (VIs) Digital I/O VIs DOutScBg.VI Performs multiple writes to the digital output port of a high speed digital

Página 90 - MemRead.VI

Universal Library Virtual Instruments (VIs) Digital I/O VIs Context Data structure containing information from a background operation. Some of the

Página 91 - MemReset.VI

Universal Library Virtual Instruments (VIs) Digital I/O VIs DOutScFg.VI Multiple writes to digital output port of a high speed digital port on a boa

Página 92 - MemSetDT.VI

Universal Library Virtual Instruments (VIs) Streamer File VIs Streamer File VIs FileAInScan.VI Scan a range of A/D channels and store the samples in

Página 93 - MemWrite.VI

Universal Library Virtual Instruments (VIs) Streamer File VIs Range If the selected A/D board does not have a programmable range feature, then this

Página 94 - Serial VIs

Universal Library Virtual Instruments (VIs) Streamer File VIs FileInfo.VI Returns information about a streamer file. When FileAInS.VI or FilePret.VI

Página 95

Universal Library Virtual Instruments (VIs) Streamer File VIs FilePret.VI Scan a range of channels continuously while waiting for a trigger. After t

Página 96 - ErrMsg.VI

Universal Library Virtual Instruments (VIs) Streamer File VIs If the trigger occurs too early, then fewer than the requested number of pre-trigger

Página 97 - GetBoard.VI

Universal Library Virtual Instruments (VIs) Streamer File VIs FileRead.VI Reads data from a streamer file. Refer to the board-specific information c

Página 98 - GetCfg.VI

Universal Library Virtual Instruments (VIs) Memory board VIs Memory board VIs MemRdPrt.VI Reads pre-trigger data from a memory board that has been c

Página 99

Overview of the Universal Library VIs Signal conditioning VIs OptAIn.VI – Specifies analog input options. Both AInScBg.VI and AInScFg.VI have an in

Página 100

Universal Library Virtual Instruments (VIs) Memory board VIs MemRead.VI Reads data from a memory board into an array. Summary: Inputs: BoardNum [U

Página 101 - GetStatus.VI

Universal Library Virtual Instruments (VIs) Memory board VIs MemReset.VI Resets the memory board pointer to the start of memory. The memory boards a

Página 102

Universal Library Virtual Instruments (VIs) Memory board VIs MemSetDT.VI Sets the DT Connect mode of a memory board. Summary: Inputs: BoardNum [U3

Página 103 - SelChan.VI

Universal Library Virtual Instruments (VIs) Memory board VIs MemWrite.VI Writes data from an array to the memory card. Summary: Inputs: BoardNum [

Página 104 - SetCfg.VI

Universal Library Virtual Instruments (VIs) Serial VIs Serial VIs RS485.VI Sets the direction of RS-485 communications port buffers.. Summary: Inpu

Página 105

Universal Library Virtual Instruments (VIs) Miscellaneous VIs Miscellaneous VIs ErrHdlng.VI Sets the error handling for all subsequent VI calls. Mos

Página 106 - StopBg.VI

Universal Library Virtual Instruments (VIs) Miscellaneous VIs ErrMsg.VI Returns the error message associated with an error code. Each VI returns an

Página 107 - InByte.VI / InWord.VI

Universal Library Virtual Instruments (VIs) Miscellaneous VIs GetBoard.VI Returns the board name of a specified board. Summary: Input: BoardNum [

Página 108 - OutByte.VI / OutWord.VI

Universal Library Virtual Instruments (VIs) Miscellaneous VIs GetCfg.VI Returns a configuration option for a board. The configuration information fo

Página 109

Universal Library Virtual Instruments (VIs) Miscellaneous VIs  BIDMACHAN - DMA channel. 0, 1 or 3  BIINITIALIZED - TRUE (non-zero) or FALSE (0) 

Comentários a estes Manuais

Sem comentários