Jump to content

Irene_he

Members
  • Posts

    434
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Irene_he

  1. Dear Mandy,

    Sorry to reply this late. As I understand that you only use DIO 9-16 for your byte reading. Although you can't use the trigger line for analog inputs for DIO ports, but you can make use the DIO ports from 1-8, check one of them to see the change of state, then read/keep the DIO9-16 states. Hope this will work for your case.

    Kind Regards,

    Irene

  2. Hi,

    Does anybody have a sample code for Video in Video by LabVIEW. Hints are welcome.

    Thanks in advance.

    Using the video blending function in IVision LabVIEW toolkit, you can mix two videos in anyway, such as picture in picture (video in video), side by side etc. You just need to define the position and size of each video stream. This works for both live video from cameras or avi files. Link is below:

    http://www.hytekautomation.ca/IVision.aspx?productId=31

    Irene

  3. This might be perfect for monitoring my chicken barn during out-of-town trips! Seriously.

    Yes, you can do that. Actually similar idea was like feeding the fishsmile.gif . Think about that you can drop some fish food over web while on travel and see them or for birdy. Or else you never be able to go away for long if you don't have friends who want to take it. But that is just one case of application... as they always said, it is only limited by your imagination.smile.gif

    Irene

  4. Happy New Year everyone.

    We have something new from HYTEK Automation, it may be in the LabVIEW programmer's interests.

    We have made USB DAQ over web control enabled. This is by providing the web services for iUSBDAQ, to make iUSBDAQ not only locally controllable, but also a low cost solution for web based instrument. You can log data, control DIOs and export data to EXCEL all from web, anywhere you go, with just a browser. With the enhanced feature, we will add video engine so that you not only control, but also see the effect of your control and environment surrounding your remote DAQ site. More details can be found:

    Web DAQ - Enable the data acquisition with webpage

    USBWebDaq.jpg

  5. I received the source code, at least that's what the vendor told me.

    I have a problem of is not find any file that I can reading ... only '.exe'.

    That all I have!

    My .vi follow with others files, but error is the same. Can't understand what you mean by the order of calling functions frusty.gif

    PS: The .dll has been placed in a previous post.

    The attached file contains VB source code, not just EXE (by the way the two attachments 350...zip and ADiS16350_Rev_12_SOURCE.zip are the same files to me) , so it should be a good start for you, but only if you understand some VB... Since you are new to LabVIEW (you said you are student), the call library function is actually an advanced feature for new people, but if you understand other programming languages, it should also not be hard... I think you have enough information from analog device now that should get you solve the problem. Another thing, read the MCP_isensor document, it mentions some other files need to be existing, so are they existing in your computer? I don't have much time to look at the VB code for you, you need to reply on yourself now. But I believe you have enough information for your sensor.

    PS: you may also try to ask directly for LabVIEW vis from analog device, maybe by lucky they happen to have those vis since LabVIEW is widely used for test and measurement.

    Irene

  6. Hi,

    Thanks for your file, but it present the same error than my file: error-1097.

    Yes, I only need the two function, findUsb and ReadUsb, the WriteUsb function maybe use maybe not use.

    I currently am try the implement de header file for library, because every search I do indicate the absence of the header. I have also tried the library importation with 'Shared Library' in tools, but the same error, without header file.

    One more time, thanks.

    No, I don't think you need to do anything with header file for LabVIEW, LabVIEW don't need header file to compile. You may ask Analog device for calling order of the functions or even get the source code for their application that measure the data, I think they wrote in VB or other programming languages, but you can take a look just to see how they call those functions and transfer your understanding to LabVIEW. So ask the calling order, which function should be called first etc.

  7. Hello all, after analyzing the .h of the dll, I notice that the functions present on MCP_iSensors_DLL.doc aren't the same.

    I wrote to Analog Devices for report this problem, I hope they will tell me how to make, because it should be this problem with the files

    ...

    You can actually see the functions included in DLL with LabVIEW call function library node and it seems to match what is in the document. I have attached this screenshot to show the functions in the DLL. There are only three functions that you need to care, I think. Find device, read and write.

    I have also created simple found device vi. For the read and write functions, you need to know the register bits meanings and how to combine the low and high data to get the real meaningful data. That part you may need to ask the analog device or study the sensor documents.

    post-42-126141556582_thumb.jpg

    FoundDevice.vi

    • Like 1
  8. Clear?

    I believe the term geek originally (? used to ) refered to a wlidman in a circus sideshow that would bit the heads off of live chikens.

    Thanks for the story. Then definitely don't want to be a geek. Let others who like it to claim the title.smile.gif

    But on the other hand any women whose eyes do not glaze over when the conversation gets technical is by definition "hot"

    Ben

    That sounds nice. smile.gif

  9. Now this I agree with. I suspect the non-geeky nerds I went to school with ended up runing the financial world. And before anyone says those nerds weren't smart enough to avoid the current crisis, just remember, they are so smart that despite all the havoc they have wreaked they are still making more money than 99.9% of the rest of us.

    Mencius says: Those who works with the mind, rule. Those who works with physical labor, being ruled. Well , Some people may critique this saying to under value the labor work, but it seems the world is working with this rule.

  10. More of a nerd than a geek - hasn't she heard about LabVIEW FPGA? biggrin.gif

    What are the clear differences between nerd and geek? do you mean women engineers are nerd while men engineers are geek?

    When they moved into their new house, they didn't like the door bell. I did fix it, but blamed here: you are the EE! This ain't not me domain! She propably realized it and now here husband is taking care of the kids...

    Felix

    Maybe because the "fixing the bell" is "trivial" for her education to fix. You don't expect a PhD (even a man) to repair a lamp or even setup a msn account (yes, I am talking about my brother in lawsmile.gif , he works in Munich for BMW), but we can't say he is not capable. Fixing the bell is indeed not her domain.

  11. Hi,

    I'm a student of Electrical Engineering, .....

    However, the difficulty it's reading data in Labview, because this

    does not recognize the iSensor, hence the various attempts to create a

    driver. ...

    I tried that:

    Tutorial - NI

    Tutorial - Nugget

    ...

    Hello,

    There are three options here:

    1. Since your iSensor comes with an USB interface, ask the vendor if they have a driver DLL that communicates with the isensor USB interface and PC. It looks like it comes with it's own software user interface, so usually they should have some kind driver DLL that user interface software based on. If they do have the DLL, you also need to know the functions included in the DLL, so that you can use LabVIEW "Call Library Function Node" to call the functions, hence create your LabVIEW driver for the sensor.

    2. Second options, if you know the commands that talk to the USB interface of the sensor, you can use the Tutorial you mentioned above to try out LabVIEW visa. Tutorial - NI

    3. The iSensor (ADISUSBZ) actually is made of two parts, one is sensor board, the other is the USB controller board. I found this NI driver for the sensor board with the use of LabVIEW FPGA. It uses LabVIEW FPGA to control the SPI interface of the sensor board... but for this option you also need LabVIEW FPGA hardware. Since you already have the USB controller board, maybe this option is not the option, I don't know. Anyway, below is the link you can refer to:

    http://zone.ni.com/devzone/cda/epd/p/id/6264

    Hope this will give some hints.

    Irene

  12. It's really funny how flexible your brain is. I can (for me) seemlessly switch between dutch and english. Geen probleem. Sometimes I am reading a text and I have to think if it's written in dutch or not.

    Ton

    I actually admire your brain, how can you keep a "clear mind" between different languages.

    It's a plain install of LV 2009 Pro with nothing else, not even NI DAQ.

    Hmm... here is my conspiracy theory. It may not necessary be LabVIEW install, it could be other programs that you installed that leave a hint in your computer and the programmer happened to be an assumption making person, he assumed that you must have wanted to see the characters even you claim so loudly that you only speak English and you have never intended to be international (who caresyes.gif )...

    (I mean "the programmer' didn't care, not me smile.gif )

    Hmm, I wonder if this has something to do with human rights. By making assumptions the programmer has unconsciously taking away some rights from some people. If human rights are improved, I believe the programming skills will improve too.

    smile.gifsmile.gif

    Irene

  13. After carefully exam the characters that you guys are cursing, I have to say it is not really "Chinese", it is chinese alike, but it is a mess, those characters mean nothing, but that maybe because you are not running OS in Chinese or Japanese, that is required in order to see what those characters really mean.

    But definitely there are some problems with the libraries in LabVIEW. Could that be some plugin that installed in your computer that triggered all characters to jump out of LabVIEW? It makes LabVIEW think you are speaking the character language.yes.gif

  14. ... Just looking for some way to make LV realize what it's doing is wrong. tongue.gif

    That is funny.biggrin.gif Maybe NI needs (more/better) quality control person to look after this, it is all in the details. I happen to be doing this type of work lately, my programmers keep writing in none-english (sure, it is easier for them) and I have to correct every corner and keep nagging (a nagging "old" woman soon will I besmile.gif ). Worst for me is that sometimes I also miss the spots since all characters are so understandable for me and I thought they were Englishtongue.gif .

  15. So it's not the healthcare system that's the issue per se, it's the lack of doctors. That's a pretty common issue irrespective of what country you're in - ...

    I get an appointment just next week by check in person and telling the pain. So I am happy now, feel life is safer now. I think doctors are really very busy, the lists are really full.

  16. I love the place I live here in Canada, but one thing I have to say, it does take a long time to book any appointments with Doctors. Getting a family doctor is hard here too, for a couple of years I just used walk in clinic for no family doctors would accept new patients. Like today, I have called the doctor's office more than 5 times and phone has only message saying (a woman's voice) "I am away from my desk or busy with other patients, if you need emergency service, please go to xxxx hospital" . So I gave up, like everytime before, I have to postpone my pain checkout, and then ignore it until it comes back and try the doctor's phone again in case someone does pickup the phone... The hardness getting an appointment make me skip lot of checks already for not bothering myself or wasting time. But now that I think I am going to call doctor again very early in the morning tomorrow and telling them that I am very painful and feel dying (but only if I can even get hold of the phone.yes.gif ) Or have to go in person to the doctor's office to just get an appointment.

    It is said many Canadian doctors are moving to US. We don't have enough doctors here.

  17. Here is a real live example of web services. iUSBDAQ (from HYTEK Automation) is web services ready and with the web application posted link below, you can access your data acquisition module anywhere everywhere with internet. With below link, you can actually remotely get LIVE measurement data, control the DIOs and PWMs from a iUSBDAQ that is located in Canada from anywhere in the world.

    Remote Control iUSBDAQ with web browser, anywhere everywhere

    Note: this is the beta version.

  18. ... why you would want to do that in LV and how you would use possibly use it, use cases? ....

    To me web services run on websites or ISP hosting servers. Since most of the hosting companies will not have labview support installed on their traditionally linux servers, does it make sense to build web service in LV??

    am i missing something?? unsure.gif

    1.Some people make web based application to consum web services, but you can also make desktop application, such as LabVIEW application to consum the web services. One user case of making LabVIEW based client app is that your LabVIEW desktop client application can access and control remote applications anywhere, everywhere as long as these remote applications provide web services. These remote applications can be LabVIEW applications or non LabVIEW applications. But doing desktop based client LabVIEW application needs runtime engine, but web based client application does not need LabVIEW runtime engine and can use web browser to open it, that is the difference.

    2. Second, I think you mixed the web services provider and consumer. LabVIEW can create web services, can also consum web services as stated in point1. To put in short, LabVIEW web services locate in the computer that has LabVIEW (provider), if client application is web based, then it can locate in web hosting servers or intranet server, but if it is LabVIEW based client application, it is just regular LabVIEW application that calls the web services, it can be just your local computer with internet.

    There may need some readings to sort out all these relations.

    Irene

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.