LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Line feed is not working with notepad

While Writing data into file with both ("Write character to a file.vi" and  "WriteFile.vi" ) i have tried with line feed and \n. When i open the file in Microsoft notepad the line feed of newline seems to be a BOX symbol, but the same file opened in wordpad the line feed and newline working properly.

 

Can any one tell me why such behaviour is happening in notepad and solution for line feed in notepad.

 

Regards

Jagan

0 Kudos
Message 1 of 7
(3,177 Views)

Use the "end of line" constant instead. On Windows, the end of line constant translates to "\r\n" and that's what notepad expects.

 

(Wordpad is more forgiving and properly displays files that use the unix style "\n" as "end of line" character.)

Message Edited by altenbach on 03-13-2009 10:18 PM

LabVIEW Champion. It all comes together in GCentral GCentral
Message 2 of 7
(3,173 Views)

Working Fine, thanks.

 

Regards

-Jagan

0 Kudos
Message 3 of 7
(3,159 Views)

Is any VI available in LaVIEW 7.0 Express to convert the hexadecimal value to binary value.

 

Regards

Jagan

0 Kudos
Message 4 of 7
(3,150 Views)

2716jag wrote:

Is any VI available in LaVIEW 7.0 Express to convert the hexadecimal value to binary value.


Yes!

 

Of course everything is binary internally one way or another, so you need to be much more specific.

You need to tell us your definitions, for example:

 

What do you mean by "hexadecimal value"?

  • a number formatted as hexadecimal, consisting of the letters 0..F?
  • A binary string, possibly set to hex display?
  • An integer numeric with the display set to hex?
  • ...

 

What do you mean by "binary value"?

  • A number formatted as binary with the letters 0..1?
  • An integer with the display format set to binary?
  • A boolean array, each element defining a bit
  • ...

 

 


LabVIEW Champion. It all comes together in GCentral GCentral
Message 5 of 7
(3,136 Views)
Highlighted

Something like this?

 

Felix

Message Edited by F. Schubert on 03-14-2009 12:17 PM
0 Kudos
Message 6 of 7
(3,127 Views)

yeah, thanks.

 

Regards

Jagan

 

0 Kudos
Message 7 of 7
(3,086 Views)