info calculation icon
Posted: Mon Mar 19, 2018 1:15 pm
HI
I have a problem with calculation icons.
in my program I use the long variable "pulse_tot".
in simulation mode the value is always correct, when I program my card its not work.
I know the problem bat not understand.
for example:
pulse_tot=1000*time*6
time is variable with value 2-15
for exaple for time=6
pulse_tot=1000*6*6 = 36000
in simulation mode is OK
but when i program card don't work
if I change:
pulse_tot = 36000
in simulation mode is Ok
when I program card is work
if change and modify 1000 in variable:
variable=1000
pulse_tot=variable*time*6
in simulation mode is Ok
when I program card is work
I don't understund this problem
help me please
thaks
I have a problem with calculation icons.
in my program I use the long variable "pulse_tot".
in simulation mode the value is always correct, when I program my card its not work.
I know the problem bat not understand.
for example:
pulse_tot=1000*time*6
time is variable with value 2-15
for exaple for time=6
pulse_tot=1000*6*6 = 36000
in simulation mode is OK
but when i program card don't work
if I change:
pulse_tot = 36000
in simulation mode is Ok
when I program card is work
if change and modify 1000 in variable:
variable=1000
pulse_tot=variable*time*6
in simulation mode is Ok
when I program card is work
I don't understund this problem
help me please
thaks