You are on page 1of 13

Page 1 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


Mdia cps1 4 Mdia Corrente canal 11 Mdia cps2 3

Mdia Corrente canal 12

Mdia Corrente canal 5

CONEXO TCP/IP - ABERTURA DE PORTA PARA CONEXO REMOTA

Analog 1D DBL NChan 1Sam p

String de dados enviados

em pty

True

1 0

em pty 2

False

Nm ero de conexes

status listen halted 1000 stop

Port listen halted Value status True

64

Connection is not connected 66 Connection closed

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 E HORA DE INCIO


abbreviated Identificao das entradas dos m dulos de aquisio
0

Data

10 Incio

DATA E HORA ATUAL

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

prom pt (Choose or enter file path) 10

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

Vetor de dados USB-6251 Tem p. (C) 1 T=a+b*V; 2


T

Mdia Tem peratura (C)

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

Tem peratura Moderador

Desvio Tem peratura (C)

Volts

AI Voltage

Analog 1D DBL NChan 1Sam p


0

-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

cps1 TQ-201 (%)


V

Desvio cps1 Desvio TQ-201 cps2 Desvio cps2

1 N=a+b*V;
N

-25
a 1

25

0,00 20

COLUNAS DO ARQUIVO DAT: col 1 = hora col 2 = segundos transcorridos

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

incio do com prim ento ativo at.

3/4 do ncleo ativo 3/4

nvel operacional op.

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

GERADOR DE TENSO PARA SINAIS DE MAGNETOS ACOPLADOS E BARRAS INSERIDAS


Minim um Value 2

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

ESCREVE EM ARQUIVO DAT


Boolean Slide True True 60
0

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

String de dados enviados

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

1 Potencia=sqrt((a+b*V)^2); 2 Corrente=sqrt((c+d*V)^2); 3 Potencia Corrente

Potncia do canal 5 est sem utilizao

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

O CANAL AI2 NO EST SENDO UTILIZADO


2

0E+0 2E-1

0,00 20

0,00 20 False
0

20

CANAL 3 (CORRENTE, POTNCIA E REATMETRO)


0,00
6

1,00E+5

VALOR INICIAL PARA O REATMETRO (CANAL 3) 1 Corrente=10^((V/1.25)-11); 2 Corrente


V 0 a b

Analog 1D DBL NChan 1Sam p

254841997,96
3

1 Corrente=10^((V/1.25)-11); Corrente 2 3 Potencia=a+b*Corrente; Potencia

0,00 20 Corrente canal 3 Mdia Corrente canal 3 Desvio Corrente canal 3

0,00 20 Reatm etro Instantneo 3 0,00 20 Mdia Reatm etro Canal 3 Desvio Reatm etro Canal 3

False

CANAL 4 (CORRENTE, POTNCIA E REATMETRO)


beta_i 0,00 lam bda_i
6

20

B
Lam bda

POTNCIA MDIA CANAIS 3 E 4


Potncia (W)
2

1,00E+5

VALOR INICIAL PARA O REATMETRO (CANAL 4) 1 Corrente=10^((V/1.25)-11);


4 V

Corrente
V 0 a b

Corrente canal 4 (A) 1 Corrente=10^((V/1.25)-11); Corrente 2 3 Potencia=a+b*Corrente; Potencia

Analog 1D DBL NChan 1Sam p

85397096,499

0,00 20 Mdia Corrente canal 4 Desvio Corrente canal 4

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

perodo Mdia perodo

Desvio perodo

0,00 20

PERODO
0

False

20

Mdia Canal 1 (cps) 3

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

True cps2 True BC#1 (%) True BC#2 (%)

True Canal 2 (cps) True Canal 1 (cps)

REATIVIDADE MDIA CANAIS 3 E 4


True Reatividade (pcm )

True Reatividade (pcm ) 2

Potncia canal 3 e 4 (W)

True Perodo (s)

True Perodo (s) 2

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

Mdia Canal 1 (cps)

1 canal1=10^(a+b*V); canal1

Desvio Canal 1 (cps)

0,5

0,00 20 False

CANAL 1 (CPS)
0

20

Mdia Canal 2 (cps) 3

Mdia Canal 2 (cps) 2


V 0 a 7

Mdia Canal 2 (cps) Desvio Canal 2 (cps)

1 canal2=10^(a+b*V); canal2

Canal 2 (cps)

0,5

0,00 20

CANAL 2 (CPS)
0

False

20

Dose TQ. m oderador


V 8

Mdia Dose TQ.

1 dose=10^(a+b*V); dose Desvio Dose TQ.

-1
a 1 b

DOSE TQ. MODERADOR


0,00 20

False

20

ESCALA DOS CANAIS 5 E 5


0

Value (bin) PortA FIRSTPORTA

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 (A)

Corrente canal 5

DCfgPort PortA ErrMsg FIRSTPORTB DCfgPort PortB ErrMsg

Value (bin) PortB

subarray 2
4 4

num ber 2
2

Corrente Canal 6 (A)

Corrente canal 6

Calibrao em potncia do canal 5 1 Corrente=sqrt((c+d*V)^2); 2 Corrente


0

C5
a b

1 P5=a+b*C5; 2 P5

CANAL LINEAR 5 (POTNCIA E CORRENTE)


0,00 20
0

14

0E+0 2E-1

c d

15018000

False

20 Calibrao em potncia do canal 6 1 Corrente=sqrt((c+d*V)^2); 2 Corrente 1 P6=a+b*C6; 2 P6

CANAL LINEAR 6 (POTNCIA E CORRENTE)


0,00 20

13

Mdia Corrente canal 6


0

C6
a b

0E+0 2E-1

c d

13917000

False

20

MAGNETO ACOLPADO BARRAS INSERIDAS


Dev1/port0/line0:7

data

output array 0, 1

Digital Input

Digital 2D Bool NChan 1Sam p

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

30m W 0,03 40m W 0,04 50m W 0,05

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

Mag BC#1 0,00 20 False


0 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

1000 Falling Count Up


0

cps1

12 tim eout 0,10

m illisecond m ultiple 100 OK m essage + warnings

Dev1/ctr0 CI Cnt Edges


1. 2.

Counter U32 1Sam p


3.

status

4.

5.

0,00
3

Mdia cps1
0

Mdia cps1 2

Desvio cps1

False

1000 Falling Count Up tim eout


0

cps2

12

m illisecond m ultiple 100 OK m essage + warnings

0,10

Dev1/ctr1 CI Cnt Edges


1. 2.

Counter U32 1Sam p


3.

status

4.

5.

0,00
3 0

Mdia cps2 False

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 Reatividade (pcm )


0

False Reatividade (pcm ) 2

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

You might also like