Professional Documents
Culture Documents
em pty
True
1 0
em pty 2
False
Nm ero de conexes
64
listen halted Value Initialize shift register with an array of em pty refnum s. Top Loop - Send the date-tim e string to each connection. A connection notifies the server that it is closing by sending a byte to the server. Inside Top Loop the VI gets new connections one at a tim e from the queue. The listen halted control is a hidden control. It is used to notify the work loop that the listener (bottom loop) has halted. The top loop will stop if the listener is halted or the stop button is pressed. Initialize exit variable to FALSE. Bottom Loop - Append new connections to queue in top loop. Note: Error to Warning.vi is used here to turn connection errors generated by Note: Date Server Queue.vi is being used as a global variable to pass data between the 2 parallel loops. ending a connection into a warning.
Close all open connections and close the lis to exit the listen loop.
Tab Control
Tab Control 2
UCRI-DAQ-SERVER
Identificao das variveis no vetor de dados
Data
10 Incio
Hora
COLUNAS DO ARQUIVO DAT: col 1 = hora col 2 = segundos transcorridos col 3 = tem peratura col 4 = erro tem peratura col 5 = nvel do tanque col 6 = erro nvel do tanque col 7 = potncia col 8 = erro potncia col 9 = canal linear 5 (corrente) col 10 = erro canal linear 5 (corrente) col 11 = canal 3 (corrente) col 12 = erro canal 3 (corrente) col 13 = canal 4 (corrente) col 14 = erro canal 4 (corrente) col 15 = reatm etro instantneo 3 col 16 = reatm etro m dia 3 col 17 = erro reatm etro 3 col 18 = reatm etro instantneo 4 col 19 = reatm etro m dia 4 col 20 = erro reatm etro 4 col 21 = canal 4 (corrente) col 22 = erro canal 4 (corrente) col 23 = perodo col 24 = erro perodo col 25 = Canal 1 (cps) col 26 = erro Canal 1 (cps) col 27 = Canal 2 (cps) col 28 = erro Canal 2 (cps) col 29 = contador 1:2 col 30 = erro contador 1:2 col 31 = contador 2:2 col 32 = erro contador 2:2 col 33 = Dose TQ. m oderador (m Gy/h) col 34 = Desvio Dose TQ. col 35 = BC#1 (relativa) serial col 36 = erro BC#1 (relativa) TQ-201 (%) col 37 = BC#2 (relativa) serial col 38 = erro BC#2 (relativa)
Arquivo DAT
0
True
0
ENTRADAS ANALGICAS
Device 1 (USB-6251) / Channels ai0, ai1, etc. Dev1/ai0, Dev1/ai1, Dev1/ai2, Dev1/ai3, Dev1/ ai4, Dev1/ai5, Dev1/ai6, Dev1/ai7, Dev1/ai8, Dev1/ai9, Dev1/ai10, Dev1/ai11, Dev1/ai12, Dev1/ai13, Dev1/ai14, Dev1/ai15
RSE
0
10
hora1 seg2 tem p3 sig_tem p4 tq5 sig_tq6 pot7 sig_pot8 corr6. sig_corr6. corr3. sig_corr3. corr4. sig_corr4. reat3. m edia_reat3. sig_reat3. reat4. m edia_reat4. sig_reat4. per. sig_per. cps1. sig_cps1. cps2. sig_cps2. cont1 sig_cont1 cont2 sig_cont2 dose_tq sig_dose_tq BC1(re) sig_BC1(re) BC2(re) sig_BC2(re) BC1m ag BC2m ag BS1m ag BS2m ag BC1ins BC2ins BS1ins BS2ins corr5 corr6 pot5 pot6
Volts
AI Voltage
-25 25
a b
0,00 20 Dev1/ai0 = tem peratura do m oderador Dev1/ai1 = nvel do tanque m oderador Dev1/ai2 = canal linear 5 (potncia e corrente) Dev1/ai3 = canal 3 (potncia e corrente) Dev1/ai4 = canal 4 (corrente e reatm etro) Dev1/ai5 = perodo Dev1/ai6 = canal 1 (cps) Dev1/ai7 = canal 2 (cps) Dev1/ai8 = dose tq. m oderador (m Gy/h) Dev1/ctr0 = contador 0 Dev1/ctr1 = contador 1 serial 1 = BC#1 relativa serial 2 = BC#2 relativa
0
TEMPERATURA
False
20
ESCREVE EM A
1 N=a+b*V;
N
-25
a 1
25
0,00 20
NVEL DO MODERADOR
0
False
col 3 = tem peratura col 4 = erro tem peratura col 5 = nvel do tanque col 6 = erro nvel do tanque col 7 = potncia col 8 = erro potncia HV 204 HV 205 col 9 = canal linear 5 (corrente) col 10 = erro canal linear 5 (corrente) col 11 = canal 3 (corrente) col 12 = erro canal 3 (corrente) 32 col 13 = canal 4 (corrente) col 14 = erro canal 4 (corrente)
20
21,5 12
37 22
58,5
21,5
1
51
2
58,5
3
col 15 = reatm etro instantneo 3 col 16 = reatm etro m dia 3 col 17 = erro reatm etro 3 col 18 = reatm etro instantneo 4 col 19 = reatm etro m dia 4 col 20 = erro reatm etro 4 col 21 = canal 4 (corrente) col 22 = erro canal 4 (corrente)
Page 2 UCRI-DAQ-SERVER 7 - Cpia.vi C:\Cesar Loureiro\UCRI-DAQ-SERVER 7 - Cpia.vi Last modified on 25/02/2011 at 12:21 Printed on 15/03/2011 at 15:48
Maxim um Value 2 Voltage Output 2 Physical Channel 2 10,00 AO Voltage error out Minim um Value Analog DBL 1Chan 1Sam p OK m essage + warnings
Maxim um Value Voltage Output Physical Channel 10,00 AO Voltage Analog DBL 1Chan 1Sam p stop 2 OK m essage + warnings
stener
ARQUIVO DAT
String de dados enviados %.5e
1 3 5 7 9 0 2 4 6 8
elem ent 1 elem ent 3 elem ent 5 elem ent 7 elem ent 9 elem ent 11 elem ent 13 elem ent 15 elem ent 17 elem ent 19 elem ent 21 elem ent 23 elem ent 25 elem ent 27 elem ent 29 elem ent 31 elem ent 33 elem ent 35
appended array
%.5e
appended array 2
11 13 15 17 19 21 23 25 27 29 31 33
0
10 12 14 16 18 20 22 24 26 28 30 32 34
0
elem ent 2 elem ent 4 elem ent 6 elem ent 8 elem ent 10 elem ent 12 elem ent 14 elem ent 16 elem ent 18 elem ent 20 elem ent 22 elem ent 24 elem ent 26 elem ent 28 elem ent 30 elem ent 32 elem ent 34 elem ent 36
0 1 2 3
Boolean 5
True Tem p. (C) True TQ-201 (%) True Potncia canal 3 e 4 (W) Waveform Chart
GRFICOS
Tem p. (C) Canal 1 (cps) canais 1 e 2 Canal 2 (cps) Corrente canal 3 canais 3 e 4 Corrente canal 4 (A) Corrente canal 5 True Reatm etro Instantneo 4 Corrente canal 6 Reatm etro Instantneo 3 canais 5 e 6 Tem peratura
True
Page 3 UCRI-DAQ-SERVER 7 - Cpia.vi C:\Cesar Loureiro\UCRI-DAQ-SERVER 7 - Cpia.vi Last modified on 25/02/2011 at 12:21 Printed on 15/03/2011 at 15:48
col 23 = perodo col 24 = erro perodo col 25 = Canal 1 (cps) col 26 = erro Canal 1 (cps) col 27 = Canal 2 (cps) col 28 = erro Canal 2 (cps)
V 0 a b c d
col 29 = contador 1:2 col 30 = erro contador 1:2 col 31 = contador 2:2 col 32 = erro contador 2:2 col 33 = Dose TQ. m oderador (m Gy/h) col 34 = Desvio Dose TQ. col 35 = BC#1 (relativa) serial Desvio Corrente canal 5 36 = erro BC#1 (relativa) col col 37 = BC#2 (relativa) serial col 38 = erro BC#2 (relativa)
20
0E+0 2E-1
0,00 20
0,00 20 False
0
20
1,00E+5
254841997,96
3
0,00 20 Reatm etro Instantneo 3 0,00 20 Mdia Reatm etro Canal 3 Desvio Reatm etro Canal 3
False
20
B
Lam bda
1,00E+5
Corrente
V 0 a b
85397096,499
0,00 20 Reatm etro Instantneo 4 Reatm etro Mdia Desvio Reatm etro
0,00 20
False
0
20 Perodo (s)
1 T=50/(V-5);
T
Desvio perodo
0,00 20
PERODO
0
False
20
Page 4 UCRI-DAQ-SERVER 7 - Cpia.vi C:\Cesar Loureiro\UCRI-DAQ-SERVER 7 - Cpia.vi Last modified on 25/02/2011 at 12:21 Printed on 15/03/2011 at 15:48
True Corrente canal 5 True True Corrente canal 4 (A) True Corrente canal 3 True perodo True cps1 canal 9 ou experim ental Reatm etro Instantneo 3 cps1 canal 10 Reatm etro Instantneo 4 reatm etros canal 3 e 4
cps2
Page 5 UCRI-DAQ-SERVER 7 - Cpia.vi C:\Cesar Loureiro\UCRI-DAQ-SERVER 7 - Cpia.vi Last modified on 25/02/2011 at 12:21 Printed on 15/03/2011 at 15:48
Canal 1 (cps)
V 0 a 6
1 canal1=10^(a+b*V); canal1
0,5
0,00 20 False
CANAL 1 (CPS)
0
20
1 canal2=10^(a+b*V); canal2
Canal 2 (cps)
0,5
0,00 20
CANAL 2 (CPS)
0
False
20
-1
a 1 b
False
20
Usar som ente os 8 bits da porta A: Os 4 prim eiros bits so para o canal 5 e os 4 ltim os para o canal 6 subarray
0 4
num ber
2
Corrente canal 5
subarray 2
4 4
num ber 2
2
Corrente canal 6
C5
a b
1 P5=a+b*C5; 2 P5
14
0E+0 2E-1
c d
15018000
False
13
C6
a b
0E+0 2E-1
c d
13917000
False
20
data
output array 0, 1
Digital Input
Page 6 UCRI-DAQ-SERVER 7 - Cpia.vi C:\Cesar Loureiro\UCRI-DAQ-SERVER 7 - Cpia.vi Last modified on 25/02/2011 at 12:21 Printed on 15/03/2011 at 15:48
Page 7 UCRI-DAQ-SERVER 7 - Cpia.vi C:\Cesar Loureiro\UCRI-DAQ-SERVER 7 - Cpia.vi Last modified on 25/02/2011 at 12:21 Printed on 15/03/2011 at 15:48
PORTA SERIAL (RS-232)
BC#1 (%) BC#2 (%)
BC#1 RELATIVA
100 2400 COM6 32
8
True False
0 0
BC#1(%)
BC1
None
0
Even 1.0
BC#2 RELATIVA
100 2400 COM5 32
8
20
False
0
True
BC#2(%)
BC2
None
0 1
Mag BC#2
Even 1.0
0,00 20 False
0
20
BS#1 RELATIVA
100 2400 COM4 32
8
True
True
BS#1(%)
BS1
None
0 2
Mag BS#1
Odd 1.0
0,00 20 False
0
20
BS#2 RELATIVA
100 2400 COM3 32
8
True
True
BS#2(%)
BS2
None
0 3
Mag BS2
Odd 1.0
0,00 20 False
0
20
1000
cps1
status
4.
5.
0,00
3
Mdia cps1
0
Mdia cps1 2
Desvio cps1
False
cps2
12
0,10
status
4.
5.
0,00
3 0
Desvio cps2
True
0
True
0
True
0
True
0
True
0
True
0
True
0
True
0
True
False
0
True
False
0
True
0
Page 8 UCRI-DAQ-SERVER 7 - Cpia.vi C:\Cesar Loureiro\UCRI-DAQ-SERVER 7 - Cpia.vi Last modified on 25/02/2011 at 12:21 Printed on 15/03/2011 at 15:48
True
0
True
0
False
True
0
True
0
True
0
True
0
False
False
False
False
False
False
False
False
False
Page 9 UCRI-DAQ-SERVER 7 - Cpia.vi C:\Cesar Loureiro\UCRI-DAQ-SERVER 7 - Cpia.vi Last modified on 25/02/2011 at 12:21 Printed on 15/03/2011 at 15:48
False
False
False
False
0
False
False
True
0
True
0
False
True
False
Page 10 UCRI-DAQ-SERVER 7 - Cpia.vi C:\Cesar Loureiro\UCRI-DAQ-SERVER 7 - Cpia.vi Last modified on 25/02/2011 at 12:21 Printed on 15/03/2011 at 15:48
Page 11 UCRI-DAQ-SERVER 7 - Cpia.vi C:\Cesar Loureiro\UCRI-DAQ-SERVER 7 - Cpia.vi Last modified on 25/02/2011 at 12:21 Printed on 15/03/2011 at 15:48
False False False False
Page 12 UCRI-DAQ-SERVER 7 - Cpia.vi C:\Cesar Loureiro\UCRI-DAQ-SERVER 7 - Cpia.vi Last modified on 25/02/2011 at 12:21 Printed on 15/03/2011 at 15:48
False
False
Page 13 UCRI-DAQ-SERVER 7 - Cpia.vi C:\Cesar Loureiro\UCRI-DAQ-SERVER 7 - Cpia.vi Last modified on 25/02/2011 at 12:21 Printed on 15/03/2011 at 15:48
False False Perodo (s) Perodo (s) 2