Use of Hex data
Someone who can help:
A temperature gauge we use is data sending (via RS232) HEX in the following table format:
(Sample data)
byte0 0x11
octet1 0x02
octet2 0x01
byte3 0 x 36
Byte4 0x00
0x4B byte5
octet1 upper and lower nibbles represents the 'xy' of 'zx.y' degrees C temperature, and the low nibble of octet2 represents temperature 'z', then the temperature reading would be "10.2 ' degrees C of the sample data. I guess that octet1 may not exceed 0 x 99, and octet2 must not exceed 0 x 09, which gives a maximum temperature of 99.9degC, but were not able to test this yet.
Please can someone help me in the code to get the quartets of high and low data sample as stated? I use LabVIEW, CVI, which I understand has incorporated features can get the "nibbling".
Thanks much for any help.
Allen Cherry
Roberto,
Thank you very much for your help - I guess that the variable 'valo' should be declared as a variable 'double' - when I did this, it worked OK - at least with "+ ve" temperatures, I'll have to wait to see what happens with '-ve' temperatures.
Very much appreciate your help,
Allen
Tags: NI Software
Similar Questions
-
Question about reading the hex data
Hello! I'm a Novice of Labview and have a problem with reading the hex data.
Basically, I bytes from the serial port like this: "80100E0E0AB4F646F24A00911267087E032080057FFF."
It is not encoded in ASCII. What I want to do is to convert a hexadecimal string ASCII of the hexagon.
so that the chain would become of ASCII hexadecimal numbers.
I think that the following might be a solution, but I have no idea what the Subvi is in the solution.
http://forums.NI.com/T5/LabVIEW/hex-string-to-ASCII-hex-string/m-p/886078/highlight/true#M400462 Thanks in advance and I thank you for your kind help!
coolmatthew wrote:
What I want to do is actually this.
You use too much a lot of code for all this. All you need is a concatenate strings, replace your entire and other loop. Same result.
(See also)
-
How can I use only cellular data then a Wi - Fi network?
I don't want to use the cell data only when the Wi - Fi connectivity is poor (for example turn on help Wi - Fi), I want to use cellular data 100% of the time. Why, you ask quite rightly? Because I have a data plan unlimited cell phone and I just want to play the channels of information and Netflix on my TV via AppleTV using AirPlay.
AirPlay is only active when connected to a Wi - Fi network. I don't live anywhere near fixed services of any kind. I would watch my Netflix or other video services on my TV rather than on small screen of my phone.
Are there any combination of parameters that will allow me to achieve this goal?
Are there any combination of parameters that will allow me to achieve this goal?
Sorry, but no. The Apple and Apple TV routers require a wired Ethernet connection or a standard Wi - Fi connection.
You can take a look at a router 3G / 4G... something like these for example:
http://www.TP-link.com/en/products/list-4691.html
Good idea to check to make sure that your provider supports supported router before you buy if.
-
Using a mobile data can affect my memory storage
Hello.. Using a mobile data can eat my memory of the iphone?
You mean the storage capacity?
NO.
Is there an error message or a problem you are having?
-
Blank apps and icons for the use of cellular data
Under settings > cellular, "Cellular data for usage" list, the first two rows are for some unknown applications, lack of title and icons. I guess they are vestiges of the apps that I deleted, but I fear that they are malicious software or a another bug. I tried to reset my phone and made sure it was sync properly with my apps on my mac, but these missing apps are still there (see photo). Any suggestion on what these empty applications can be, and if I should disable cell phone use just in case? Thank you.
It is not malware. I think that your proposal about it being the remains of the applications that you may have deleted would be closer to what past. I saw the same thing on all of my iOS devices. This icon is the 'framework' all the app icons based on. In other words, if you stripped the face from the application icon, you will see which frame.
It won't do harm to turn off cellular data for these applications. It could even lead to a discovery about what applications they are, if you try to use with cellular data off the coast and they don't work. I just think they are icons that are not displayed correctly.
-
I have a Macbook Air processor intel and storage 4 GB, I use iCloud for storing all my data, but recently I had a problem with too much use of my data internet home. We are limited because we live in a rural area. So I guess I have two questions: 1) can I use an external hard drive to avoid having to use my iCloud? and if I do which is the best to use external storage drive? I have a lot of files and photos, I am a real estate agent. I got this Macbook Air since September 2015 still invite us to her also. Next question, can I use another Mac with a bigger hard drive instead of the MacBook Air? My son told me in the Macbook air because of its features, but the storage for me is imperative. Please notify
Use many small external drives that you can carry in your pocket that connect to the computer via USB 3.0. Shop for them at Amazon.com.
BTW, 4 GBs is the memory of the computer, no storage. MBA come with built-in SSD from 128, 256 or 512 GB capacity. You choose the MBA with the SSD model that best fits. However, once you make the computer cannot be updated.
-
What is "media downloads" in respect of the use of the data?
"" I noticed that ' downloads media ' take a huge part of the use of 3G data on my phone (usually 40 ~ 60% of the total use). No idea what it is, and other people see this kind of behavior?
I deleted all the motoblur widgets (but note that they are running as a background service and it cannot be stopped...) and did not 'download' any sort of 'media' that I know
Thanks in advance,
Amidou
Could be the market looking for updates. Try to turn off notifications in the market. I never noticed because I'm not. It would be nice to know if this does not cause the use of data. Let me know if this helps.
johntywang wrote:
"" I noticed that ' downloads media ' take a huge part of the use of 3G data on my phone (usually 40 ~ 60% of the total use). No idea what it is, and other people see this kind of behavior?
I deleted all the motoblur widgets (but note that they are running as a background service and it cannot be stopped...) and did not 'download' any sort of 'media' that I know
Thanks in advance,
Amidou
With regard to the use of the fuzzy data. Go into your menu-settings-Data Manager - provision of data-(ici vous pouvez désactiver les données de base et l'itinérance)-applications of blur and check the WiFi sync only to stop using the data and make it only use WiFi.
-
Update of Kaspersky, it asks me to deny/allow what follows - "Installer Kaspersky Safari Extension wants to use your confidential data stored in 'List of extensions Safari' in your keychain"-is it safe?
# Kaspersky is one of the worst AV packages that you can install on your Mac. I suggest that uninstall you it. All he will do on your Mac is causing problems and offer no addition protection what so ever.
Once you think you have managed to get rid of it, please download and install EtreCheck from http://etrecheck.com/
Run it and post the report here. From the snapshot of your Mac, we say if you missed any bit and pieces during the uninstallation of Kaspersky.
-
Too much use of background data in moto g3
The operating system and other system applications using too much data background. After limiting data use background notification inviting always in the notification area. And exclamation always on top. He looks irritating... How to solve this problem...
You can not delete notifications. What you can do is to disable database for individual applications instead of everything - that will remove the notification. And you are right, there are system applications so that you can not do this.
If you are close to your data limit, then live with the notification, or get a larger data plan.
-
Can what method/class/object I use to send data to the form variable to BradySoft? I have a basic configuration of BradySoft label and I want to send it data of variable shape (a serial number) from Labview ActiveX. I joined guide Brady ActiveX programmers, but can't understand what to use for that.
P.S. I would call Brady or TekLynx tech support on this issue, but they have a strict policy while BradySoft supports ActiveX, but does not provide technical support assistance programming with it. I thought I would try the Forums OR.
Just an update. I could get this to work myself after a few days of playing with it (I suppose that the best way to learn!). I have attached a sample VI for anyone interested. Can we Kudo ourselves?
-
Cannot use the bb data components
Hello, I am a newbie. I recently moved from QtQuick to Cascades, now I'm trying to do some simple applications to start. I want to use DataSource {point in my application. I imported bb.data 1.0 in the main of QML, added bb/data/source data file in the file c ++ main. But when I try to use the qml data source, it gives me the following error: 'value of the default property of 'controls' Type mismatch. Waiting for bb::cascades:Control and found the source of data. ».
Can someone hepl?
The question is do you have set the DataSource as the first element in the container, without putting it in the attachedObjects. The container has a 'default' property that is a list of type Control and DataSource is not a subclass of control. Verify the data source examples in the docs and it should show how to use there... inside an attachedObjects: list [].
-
Good way to use the concurrent data store
Hello
I'm developing a multithreaded C++ application that uses the C++ of Berkeley DB Library.
In my case, I have several databases that I composed in a wooded area. It is important for me to use an environment because I need control over the cachesize parameter.
I don't need no guarantee of transaction and have for most of the readings, so I decided to use the "simultaneous database.
I first pre-fill all databases with a number of entries (configuration single-threaded phase) and then work on it at the same time (for most readings, but also insertions and deletions).
I tried all kinds of different configurations, but I can't work without specifying DB_THREAD as a flag of the environment.
I don't want to because then access all handles is synchronized sequentially according to the documentation:
"... Note that the activation of this indicator will serialize calls to DB using the handle between the threads. If
simultaneous scaling is important for your application, we recommend handles separate for each thread opening
(and do not specify this indicator), rather than share handles between threads. "
So I tried to open the environment with the following indicators:
DB_CREATE | DB_PRIVATE | DB_INIT_MPOOL | DB_INIT_CDB
All data in this environment handles are open only with the DB_CREATE flag.
So, since my understanding this same basic access handles need to be synchronized, I opened separate handles foreach database for each thread (opening the handles is still single-threaded).
In my first approach, I have only made use of the object of global environment. Which does not work and gives the following during operations error message:
DB_LOCK-> lock_put: Lock is no longer valid
So I thought, since the same handle global env is passed to all handles separate DB, it is perhaps a race condition critical on the handful of approx.
So in my next test, I opened also handles separate EPS in each thread (and db handles owned each).
That does not produce an error in db, but now it seems that each thread sees its own version of the databases (I call it stat early in the life of each thread and he sees all of the empty dbs).
What is the right way to use the concurrent data store? Each thread should really open his own set of db handles? What about the number of open handles env?
PS: Without specifying that the DB_PRIVATE flag seems to do the job, but for performance reasons, I want all operations to perform in the cache and do not specify product DB_PRIVATE average of several writes to the disk for my scenario.
Thanks a lot for your help.
CD (simultaneous database) allows a single editor with multiple drives, access to the db at a given point in time. The handle for the writer doesn't have to be shared with readers. If you share the DB handle then calls are synchronized, but if each thread has its own handle DB then this is not the case. Since you have an environment, DB_THREAD must be at the level of the environment. This will allow the sharing of the environment handle. This type of error "DB_LOCK-> lock_put: Lock is no longer valid" you can provide us your code so we can take a look. Also what BDB version are you using?
-
If you use up your data at high speed can still download apps?
* O.T. > account Microsoft Family
If you use up your data at high speed can still download apps?
You can, just slower (whatever the speed your Internet company service provider provides).
-
Tablespace does not use a certain data file
Hi all, I am new to Oracle DB. Reported by developer that storage space is full, and then I found that there are two data files associated with the storage space by checking dba_data_files. The first data file size is already full of 32GB, and the second is 8GB. However, it seems that the tablespace does not use the data file second when I check the free space of the tablespace because I cannot find its use. That's why Oracle DB shows ORA-01654 and tell me to add another data file. I fix this by adding another data file. But I'm just wondering why it seems that the tablespace does not use the second data file, I checked the status of second in the data file is online of v$ datafile. Could someone give me an idea about this problem? Thank you very much.
c115bca7-E432-460f-a0c5-273b2157dcbe wrote:
Hi all, I am new to Oracle DB. Reported by developer that storage space is full, and then I found that there are two data files associated with the storage space by checking dba_data_files. The first data file size is already full of 32GB, and the second is 8GB. However, it seems that the tablespace does not use the data file second when I check the free space of the tablespace because I cannot find its use. That's why Oracle DB shows ORA-01654 and tell me to add another data file. I fix this by adding another data file. But I'm just wondering why it seems that the tablespace does not use the second data file, I checked the status of second in the data file is online of v$ datafile. Could someone give me an idea about this problem? Thank you very much.
1 cause the second data file - is not activate with auto-extend and its fixed size, 8 GB, which could deliver the extensions are not free - filled and that you may not able to find any free extends from dba_free_space
2. Please activate auto extend for this data file and add the new data file based on space allocation.-Pavan Kumar N
-
Hello
I have my report server on the internal workspace defined as BI Publisher URL as default... It works for my BI Publisher reports.
I have 2 reports who need to use the rest Data Services FOP engine and use GET_PRINT_DOCUMENT function Signature 4
https://docs.Oracle.com/CD/E59726_01/doc.50/e39149/apex_util.htm#AEAPI146
For these 2 reports, I need to pass a parameter to p_print_server. The documentation describes this as the URL for the print server
My question is, how to find the URL for p_print_server when I want to use the rest Data Services FOP on ADR?
I can not put as NULL as at the time, it will use the default BI Publisher URL and then these 2 reports will not work
Moreover, when I put the server reports on internal workspace as 'Rest Data Services', my two reports work fine, but not when I put is as URL BI Publisher - which is necessary
Help, please
Concerning
Matt
Hi Matt Mulvaney,
Matt Mulvaney says:
I already have the correct configuration to be able to produce reports FOP including two steps you mentioned. This set works very well when I put the "Print server" preference in the settings of APEX Data Services Instance remains - and reports can be produced. But as I said, this must be set to a URL of BI Publisher.
If you use "Print server" as "Oracle BI Publisher" then the p_print_server parameter would have been:
http://myserver.mydomain.com:8888/xmlpserver/convert
Where:
- Printing of the address of the host server: myserver.mydomain.com (you can also use the IP address)
- Print Server Port: 8888 (depending on what your BI Publisher Server uses port)
- Print server script: / xmlpserver/convert
Similarly, if you choose "Print server" as 'Oracle REST Data Services', the instance settings don't ask questions on the print settings, but internally it uses the following parameters and the p_print_server parameter is:
http://myserver.mydomain.com:8080 / ADR / _ / fop2pdf
Where:
- Printing of the address of the host server: myserver.mydomain.com (host computer on which ADR is hosted)
- Print Server Port: 8080 (the port used by what ADR/APEX Forum)
- Script of the print server: / ords / _ / fop2pdf (this is not disclosed by APEX/ADR documentation, but as mentioned by Marc Sewtz in the following thread)
Reference: Re: Apache FOP disappeared by Oracle APEX installable APEX 5.0 and 5.0.1 APEX
Kind regards
Kiran
Maybe you are looking for
-
Firefox 8 supports norton 360 Prime Minister
Norton safe identity does not work
-
Tecra M5: Moves the pointer of the mouse to the corners of the screen - cannot be moved
Had this problem intermittently on my Tecra M5. The mouse pointer starts to crawl toward the edges/corners of the screen, then picks up speed quickly, he will bring back zipper in the corners and no amount of mouse movement. happens if I am rooted in
-
How can I get windows 7 let me install my lexmark x 7170 old printer?
I can't have the drivers for my lexmark x 7170 all-in-one to load. I was told that windows will come out a fix for this problem so old printers will be compatible with windows 7. Is there a patch yet? If this is not the case, can I do?
-
Cancel now: Adobe PDF package, monthly
Cancel now! Terrible cancellation UI. Terrible. CancelAdobe PDF package, monthly
-
Corrupt preferences - CC 2015 Illustrator file
whenever I start illustrator I get this error, and all my settings are restored (including my actions which, in a previous post, I mentioned, I can not restore from a backup I have). What is the problem with Illustrator CC 2015!