LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

binary

Well, can you somehow read what voltage the instruments is at?

 

Why don't you send a couple of 16 bit patterns, write down the voltage, and post the result.

0 Kudos
Message 21 of 39
(1,729 Views)
tell me about it, i'm like stuck right here thinking about how to input these values to the binary format. which i dont even have most of the informations.
0 Kudos
Message 22 of 39
(1,727 Views)

altenbach --

i'm not sure what you mean, i dont have the atually battery here.

i'm trying to simulate the battery voltage & current.

0 Kudos
Message 23 of 39
(1,723 Views)

aznw82 wrote:

i'm trying to simulate the battery voltage & current.


Now I'm completely confused. Smiley Surprised

 

Do you have a manufacturer and model number for the battery?

0 Kudos
Message 24 of 39
(1,716 Views)

With the information you got now, your assignment is not possible to solve. It does not matter if it is a school or work assignment. You should go to your boss or teacher and tell that person. That you can not solve your assignment unless someone give you more details regarding the Can Buss protocol you are trying to simulate.



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Message 25 of 39
(1,707 Views)

so, i just can't input anything values and convert it binary?? because, my vi act like the actually battery which i can put down any value.

then take that value and convert it to binary value. why can't it be solve, i really don't get it??

0 Kudos
Message 26 of 39
(1,717 Views)

As we said, you can easily convert an integer to binary. But what format does your device need it in? ASCII, IEE754, some proprietary data format?

 

How would you convert a floating-point value to binary on paper? What method would you use?

 

Robot Happy 

0 Kudos
Message 27 of 39
(1,681 Views)

aznw82 wrote:

why can't it be solve, i really don't get it??


... because there are millions of very different potential solution. We can only pick the correct one if we have the exact specifications. The term "binary" is very generic.

0 Kudos
Message 28 of 39
(1,674 Views)

I told myself I would stay out of this thread....

 

modern computers use a binary representation to store and manipualte numbers. In a computer these values can be represented using different formats. Examples include "U8" for eight bit, unsigned.... "DBL" Double precision floating point. They are all binary.

 

THere are many other ways of representing numbers so that is why "binary" tells us little.

 

What we need to know is in what format is the "reciever" of your data expecting to recieve the data in?

 

Are you working with a driver that provides the hardware interface to the CAB bus? If so find the specification fo rthe driver.

 

If you are developing your own hardware, at what level of CAN are you working?

 

I really hope you have a driver you are working with because climbing the ladder from binary to bit-stuffing is going to be a very long trip.

 

Ben

 

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 29 of 39
(1,672 Views)
reciever is taking, example "11111110" this kind of format.. i can convert it to hex from that.
0 Kudos
Message 30 of 39
(1,667 Views)