LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Blue screen in Vista in serial transmission

I am developing an application that receives data from a microcontroller via serial port. My OS is Windows Vista Home Premium and I am running it on a laptop. I use a generic USB-serial adapter. at the beginning of the developement process I just used communication without data control, but now I am using RTS/CTS control. for a moment the reception is very good but after a moment the screen turns blue and blurred that I can not really know what appears. I just see a count down on the lower part of the screen telling that the data is being recovered.

Any idea of what that could be?

Thanks,
0 Kudos
Message 1 of 6
(3,366 Views)
Hello, perhaps no relation with vista especially. it could be easier if you send vi and front panel, file or jpg


C.U

Sébastien
CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 2 of 6
(3,345 Views)
As base VI I am using "serial write and read.vi". Over this VI I am using "Array232.vi". Over the last I am connecting "Data Control.vi" For Data Control is also necesary "GetDist.vi". The main VI is "BothSolesTest.vi" which also requires "ColorGen.vi". the shown configuration in the file I am sending has no hardware control. The blue screen occurs when I change the control to RTS/CTS or DTR/DSR, obviously taking into account the corresponding Hardware changes. Now I am working at 38400 bps, but the plan is to work at 115000 and then I think the problem will be evem more notisable.
0 Kudos
Message 3 of 6
(3,297 Views)
Sorry forgot the files. There is a zip with all the necessary files.
0 Kudos
Message 4 of 6
(3,296 Views)


Ferconde wrote:
As base VI I am using "serial write and read.vi". Over this VI I am using "Array232.vi". Over the last I am connecting "Data Control.vi" For Data Control is also necesary "GetDist.vi". The main VI is "BothSolesTest.vi" which also requires "ColorGen.vi". the shown configuration in the file I am sending has no hardware control. The blue screen occurs when I change the control to RTS/CTS or DTR/DSR, obviously taking into account the corresponding Hardware changes. Now I am working at 38400 bps, but the plan is to work at 115000 and then I think the problem will be evem more notisable.

If you don't use hardware flow control, does your VI work or do you lose data?  Are you sure your hardware uses hardware flow control?

I don't think this would explain your problem, but I noticed you have numerous coercion dots in your code,  In Data Control, you initialize I8 arrays but display them in U8 array indicators.  In Get Dist, you read from file as Integer, but pass that into a double array.  Then you index through that double array in Data Control to get indices for the replace array subsets.  Array functions want I8's for their indices.
 
 
0 Kudos
Message 5 of 6
(3,279 Views)
First of all thanks for checking and telling me the mismatching types of data in the arrays I will check it and fix it. About the hardware I can tell you that I tried in the configuration where I don´t activate the hardware control and I get an error inmediatelly from LABView. the reason for the hardware control is that the company that produces a virtual serial connection via Bluetooth recomends to use hardware control. I am loosing some data which actually is not that relevant but that is my real reason. Thanks again for the advices.
0 Kudos
Message 6 of 6
(3,265 Views)