LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Strange behaviour with Labview4

I`m actually working under LABVIEW4 and something strange happens.

I`m actually programming an automated LASER ablation program which
components are X-Y table, a GSI Lumonics HYPEREX-400 excimer laser and a
Z-World Little Giant controler board, all interfaced through a PC serial
port. I built the program in such a way that you can enter all your commands
in a matrix and then start the automated process. However, I included a
variable in the matrix to turnon/turnoff laser depending of the pattern that
you want on your substrate.

My actual problem is comming from the fact that everytime ( in the pattern
command matrix) there is succession of Turn OFF/Turn ON ( in that order) in
pattern commands, there gonna be a delay of a
bout 30-50 seconds before each
command being executed. However, there is nothing of such delays in my
program. I`ve look to everything and I can`t find anything ( program itself,
possible conflicts with serial port, etc...). The only thing that I was able
to see is very strange. If I let the computer run by itself, the delays arer
still there. However, If I`m moving the mouse while the process is on, there
won`t be any delay ( as if there would be a "sleep mode" somewhere). As I
didn`t programmed any "sleep mode" in this program, I went on windows
desktop to see if the screen saver was active or not. There was nothing. So
I decided to go into BIOS settings and watch what could conflicts with my
program. I went into Power Management set-up, and they were not activated.

This is where I am now. It`s seems there is a conflict somewhere, but I don
`t know where. There is anybody here that had similar problems around? If
yes, how have you been able to solve the problem?



Daniel Picard, Te
chnical Officer
NRCC
Institute for Microstructural Sciences
0 Kudos
Message 1 of 3
(2,896 Views)
Daniel watch out for a while loop somewhere in your program that has no delay
in it !
or are you polling the serial port very fast ?

By moving your mouse you are changing the way the operating system schedules
the program instructions and maybe you interrupt a very haevy polling while
loop this way


"Daniel Picard" wrote:
>I`m actually working under LABVIEW4 and something strange happens.>>I`m
actually programming an automated LASER ablation program which>components
are X-Y table, a GSI Lumonics HYPEREX-400 excimer laser and a>Z-World Little
Giant controler board, all interfaced through a PC serial>port. I built the
program in such a way that you can enter all your commands>in a matrix and
then start the automated process. However, I included a>variable in the matrix
to turnon/turnoff laser depending of the pattern that>you want on your substrate.>>My
actual problem is comming from the fact that everytime ( in the pattern>command
matrix) there is succession of Turn OFF/Turn ON ( in that order) in>pattern
commands, there gonna be a delay of about 30-50 seconds before each>command
being executed. However, there is nothing of such delays in my>program. I`ve
look to everything and I can`t find anything ( program itself,>possible conflicts
with serial port, etc...). The only thing that I was able>to see is very
strange. If I let the computer run by itself, the delays arer>still there.
However, If I`m moving the mouse while the process is on, there>won`t be
any delay ( as if there would be a "sleep mode" somewhere). As I>didn`t programmed
any "sleep mode" in this program, I went on windows>desktop to see if the
screen saver was active or not. There was nothing. So>I decided to go into
BIOS settings and watch what could conflicts with my>program. I went into
Power Management set-up, and they were not activated.>>This is where I am
now. It`s seems there is a conflict somewhere, but I don>`t know where. There
is anybody here that had similar problems around? If>yes, how have you been
able to solve the problem?>>>>Daniel Picard, Technical Officer>NRCC>Institute
for Microstructural Sciences>>>>
greetings from the Netherlands
Message 2 of 3
(2,896 Views)
Thnks a lot for the informations. You are right, there is no delay in the
loop ( While Loop), maybe I was just polling it too fast. I`m using a very
slow computer for this setup and I wasn`t expecting that

Thnks again

Daniel Picard
..
albert geven wrote in message
news:39184c4e@newsgroups.ni.com...
>
> Daniel watch out for a while loop somewhere in your program that has no
delay
> in it !
> or are you polling the serial port very fast ?
>
> By moving your mouse you are changing the way the operating system
schedules
> the program instructions and maybe you interrupt a very haevy polling
while
> loop this way
>
>
> "Daniel Picard" wrote:
> >I`m actually working under LABVIEW4 and something strange happens.>>I`m
> actually programming an automated LASER ablation program which>components
> are X-Y table, a GSI Lumonics HYPEREX-400 excimer laser and a>Z-World
Little
> Giant controler board, all interfaced through a PC serial>port. I built
the
> program in such a way that you can enter all your commands>in a matrix and
> then start the automated process. However, I included a>variable in the
matrix
> to turnon/turnoff laser depending of the pattern that>you want on your
substrate.>>My
> actual problem is comming from the fact that everytime ( in the
pattern>command
> matrix) there is succession of Turn OFF/Turn ON ( in that order)
in>pattern
> commands, there gonna be a delay of about 30-50 seconds before
each>command
> being executed. However, there is nothing of such delays in my>program.
I`ve
> look to everything and I can`t find anything ( program itself,>possible
conflicts
> with serial port, etc...). The only thing that I was able>to see is very
> strange. If I let the computer run by itself, the delays arer>still there.
> However, If I`m moving the mouse while the process is on, there>won`t be
> any delay ( as if there would be a "sleep mode" somewhere). As I>didn`t
programmed
> any "sleep mode" in this program, I went on windows>desktop to see if the
> screen saver was active or not. There was nothing. So>I decided to go into
> BIOS settings and watch what could conflicts with my>program. I went into
> Power Management set-up, and they were not activated.>>This is where I am
> now. It`s seems there is a conflict somewhere, but I don>`t know where.
There
> is anybody here that had similar problems around? If>yes, how have you
been
> able to solve the problem?>>>>Daniel Picard, Technical
Officer>NRCC>Institute
> for Microstructural Sciences>>>>
0 Kudos
Message 3 of 3
(2,896 Views)