Jump to content

i2dx

Members
  • Posts

    683
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by i2dx

  1. Try to do the following.
    1. Make a backup of your project
    2. Remove half of the VIs and check if your project still crashes
    3. If your project still crashes, make a new backup of the modified project and return to point 2.
    4. If your project doesn't crash, return to previous backup and remove other half of the VIs.

    Go on the above cycle until you end up with absolute minimum number of files that still can generate the crash. You can still try to strip the project up a little bit further by removing stuff from the block diagrams of the remaining VIs. Then post that stripped up project to here and submit a bug report to NI with that stripped up project as an attachment.

    the project will crash, independent of the number of VIs. I reproduced this bug with 4 VIs. IMHO and as far as I tracked that down, there is a bug in the updating mechanism, which updates all VIs after the edit, when you confirm the "replace ?" - dialog. This bug seems only to concern CONSTANTS, and does not occur if you use only one instance of that typedef in one VI

    The service Request Nr. is 396436 (Nov 23. 2006) - as I mentioned above, I forgot to care about that and could not find any responses about this topic. Maybe this one needs a warm up and a CAR# ?

  2. I totally agree :rolleyes:

    thx :)

    I just pointed out that if you do use it (as suggested by tcplomp), the RT-target will reboot (not shut down) when called.

    are you shure? I have my "knowledge", because in one of my last RT projects with LV 7.1, I had to learn, that using the exit LabVIEW primitive in the RT main VI can lead to that "weird behavoiur" (the startup.exe was restarted in parts when connecting with MAX). I did not experience, that the exit LabVIEW primitive forced a controler reboot

  3. I have turned off the firewall and I also replaced the 'localhost' string with the IP of the server but it gave generic error in tcp open connection. I also entered the name of the server computer in place of localhost and then it didn't show any error but connection just timed out. Are you sure I can use tcp/ip vi's for a wireless peer-to-peer network?

    yes, I am sure, I have done this several times, and it works. Maybe you should try to use fixed IP adresses e.g. 192.168.1.1 and 192.168.1.2 and no host names, which would require a DNS service (and that would be quite unusual on a PtP network ...)

  4. If you execute the "Exit LabVIEW" function in LabVIEW RT 7.1, the RT controller will reboot.

    To read a DI line to detect power failure, seems to be a good way to be able to clear things up, before power is cut.

    /J

    I politely disagree:

    The Exit LabVIEW is NOT intended to be used on RT machines, therefore it is not included in the RT-View of the Appcontrol palette.

    Using the exit LabVIEW primitive on an RT machine is not recommended, because it can lead to weird behaviour. I have experienced that such VIs can restart occasionally, e.g. if you connect to the RT machine via MAX. Maybe it could reboot the machine, but thus is not intended.

    The LabVIEW Runtime Engine closes automatically when all VIs have stopped, so you don't need any mechanism to close the Runtime Engine explicitly.

    So the answer to the question could be: stop all your VIs (e.g. with occurences) if you detect the power down and exit your application "the normal way". If you don't have a normal way, it would be wise to create one ;)

  5. If you have thoughts, concerns, or feedback about running LabVIEW on Windows Vista, please share them with us. I'm interested to know what the issues are and how to solve them.

    Thanks,

    I have general concerns agains VISTA. I don't like this DRM b******t, threrefore I am planing to use XP als long as possible.

  6. Hi Folks,

    I am currenty trying to improve my ADO Toolkit, but I have reached a point, where I can't find a solution for this specific problem:

    post-885-1169726816.png?width=400

    The variant input "Restrictions" of the Invoke Node "OpenSchema" needs a special input which is defined as follows:

    _bstr_t bstrTableType("Table");	 	 varCriteria[0].vt = VT_EMPTY;	 varCriteria[1].vt = VT_EMPTY;	 varCriteria[2].vt = VT_EMPTY;	 varCriteria[3] = bstrTableType;	 	 VARIANT varData;	 SAFEARRAY FAR* psa;	 SAFEARRAYBOUND rgsabound[1];	 rgsabound[0].lLbound = 0;	 rgsabound[0].cElements = 4;	 psa = SafeArrayCreate(VT_VARIANT, 1, rgsabound);	 	 // Fill the safe array.	 for( lIndex = 0; lIndex < 4;lIndex++)	 {		hr  = SafeArrayPutElement(psa, &lIndex,&varCriteria[lIndex]);	 }	 // Initialize variant with safearray.	 varData.vt = VT_VARIANT | VT_ARRAY;	 V_ARRAY(&varData) = psa;				  	 Con.CreateInstance(__uuidof(ADODB::Connection));	 Con->Open(L"DSN=pubs", L"", L"", -1L);	 	 Rs1 = Con->OpenSchema(ADODB::adSchemaTables,varData);

    does anyone know, how to build that specific variant, which is passed to the function OpenSchema(ADODB::adSchemaTables,varData) ?

    Furthermore this problem does not only concern this example, but there are other cases, where I'd like to pass a *variant structure* (??) to an ActiveX Invoke node, e.g. if you use the Internet Explorer Object and invoke the print method, you need to pass a *special* varaiant to the method, too, in order to remove the default print headers (wich look pretty uggly ...)

    Maybe such variants can be created by calling *other* ActiveX Invoke or Property nodes - but which class should I use ?

    Any help would be realy appreciated!

  7. Creative Commons is not one license but rather 11 different licenses. None of these Creative Commons licenses have been certified by the Open Source Initiative as open source license. If I've understood correctly, these licenses are not GPL/LGPL compatible meaning that one cannot use components licensed under Creative Commons in any GPL/LGPL licensed project.

    so what?

    With CC you can clearly define, how your work can be used and which rights are reserved. Why should I care about Software License Compatiblity or that the license I use is certified by the Open Source Initiative?

  8. Work-around:

    Select

    Pop-up >>> Ignore attributes

    Ben

    ah, thx :)

    I considered allready that the reason for this bug is, that the graph tries to adapt to the properties of the waveform, which is *currently* empty. I stumbled on this bug, when I connected a WF Graph to the DAQmx VI "AI Read 1D Wfm" and tried to rename the channels ...

    whatever, It's not my job to think about the reasons of a bug, my job is to get the task finished anyway :)

  9. whatever ...

    it's nice to see that NI has a "competitor". It's like linux :) it will never become more popular than windows until *we* change our way how and why we use software, but it had a nice impact on the development of windows and the guys from MS$ had to be a little bit more carefull with what they do.

    It's overconfident to think that a 3 man team can measure up with the NI R&D, just due to the sheer manpower they have and not to talk about 20 or more years experience in developing LabVIEW. So if there is a *product* in measurable time, it will predictably not compete with LabVIEW (V 12.x ??) nor will any LV professional consider seriously to use it in one of his/hers projects.

  10. I am investigating options for developing a SCADA type system that includes remote monitoring/control of PLC's. I have been reading all about SCADA, LabVIEW DSC, NI Lookout, PAC's vs PLC's etc. It seems that this sort of project can be completed using LabVIEW DSC but it looks like this may be the low level approach. Does NI Lookout simplify the process enough to justify the cost? Will LV DSC allow me to do everything I need?

    Your advice is most welcome.

    Cheers & Beers

    :thumbup: & :beer:

    I am aware that I could drop in a brick with this advice. I don't know anything about Lookout, but I had a longer phone call with a colleague yesterday and he was complaining a lot about the quality of the DSC Module. It seems to be a Module which is not used very often, and therefore full of bugs, etc ... so my adavice would be: get a trial version of the DSC Module and try to implement the mission critical parts with DSC to see if you can reach your goal with this module.

  11. Please report ALL problems to NI. We are just lucky by a fluke coincidence that Mr. Mercer from NI reads LAVA. Honestly, if you don't submit these issues to NI they will NEVER be fixed. If they respond that it is a known bug or issue, then you can request the CAR# and then post it here as a reply.

    Of course I do! :)

    I just wanted a confirmation from someone else that this behaviour is reproducable before I bother the NI support with this.

    I'll report it to NI tomorrow (it's 8 p.m. here and I'm the only donkey still working [except the other donkeys ;) ]) and post the CAR# here ...

  12. Helo.

    my techer give us asinment to calc in laviuw and i need help :lightbulb: :worship: :!: :ninja:

    can you help me pleeeease??!!!!

    the asinment is Calculate using LabVIEW how much wood would a woodchuck chuck if a woodchuck could chuck wood.

    can you pleease help me!!! i need it tomorow!!!!1

    thank u

    lol

    got da HH blues?

×
×
  • Create New...

Important Information

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