Dear Team,
I want to ask some help info regarding the USB component
1- If I change the VID/PID and vendor names and generate the driver in the Properties panel and then add the generated inf file to the supplied driver package as below and install the driver will the new device be known by windows
Changing these properties (below)
will it show up here with the new properties
I am also thinking for testing to use a Labview project can I use the Miac DLL for LV with no license issues from MATRIX or technical issue
Thansk a million for your help
USB Driver and INF file
- p.erasmus
- Posts: 434
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 12:01 pm
- Location: Russia / Россия
- Has thanked: 104 times
- Been thanked: 88 times
- p.erasmus
- Posts: 434
- Joined: Thu Dec 03, 2020 12:01 pm
- Location: Russia / Россия
- Has thanked: 104 times
- Been thanked: 88 times
Re: USB Driver and INF file
Hi Ben,
I tried generating the inf file for the Custom driver as shown in the wiki may be I am justr to old howver I cannot select Yes for generating the driver ,
if I select the "Yes" property it immidialtly goes to no again ,
If I compile the project I have no inf file .
In my understanding from the Wiki after the generation of the inf file the property will automatically go to "No" however this is working in reverse with me
Please help!
I tried generating the inf file for the Custom driver as shown in the wiki may be I am justr to old howver I cannot select Yes for generating the driver ,
if I select the "Yes" property it immidialtly goes to no again ,
If I compile the project I have no inf file .
In my understanding from the Wiki after the generation of the inf file the property will automatically go to "No" however this is working in reverse with me
Please help!
Regards Peter - QME Electronics
- p.erasmus
- Posts: 434
- Joined: Thu Dec 03, 2020 12:01 pm
- Location: Russia / Россия
- Has thanked: 104 times
- Been thanked: 88 times
Re: USB Driver and INF file
Hi Ben
the next issue if I select the Time out Property to Yes then the code does not compile on 18F4550
when set to No
the next issue if I select the Time out Property to Yes then the code does not compile on 18F4550
when set to No
Regards Peter - QME Electronics
-
- Matrix Staff
- Posts: 1355
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 182 times
- Been thanked: 317 times
Re: USB Driver and INF file
Hi Peter,p.erasmus wrote: ↑Wed Nov 24, 2021 8:26 amI tried generating the inf file for the Custom driver as shown in the wiki may be I am justr to old howver I cannot select Yes for generating the driver ,
if I select the "Yes" property it immidialtly goes to no again ,
If I compile the project I have no inf file .
In my understanding from the Wiki after the generation of the inf file the property will automatically go to "No" however this is working in reverse with me
I've just tried this and it seems to be working ok. Changing "Generate Driver" to "yes" will create a .inf file in the same location as the .fcfx project file and then the "yes" will flip back to "no". Changing this property causes the .inf file to be created, and not compiling the project.
FYI: it is done this way because (currently) there is no way to have a button press event for a component property. What we do instead is detect that this property changes to "yes" and then this triggers the event as if a button has been pressed. The component then automatically flips the property back to "no" once the event has been actioned.
Regarding the "timeout" issue, this seems to be a bug and hopefully Ben will fix this soon.
Regards,
Steve.
- p.erasmus
- Posts: 434
- Joined: Thu Dec 03, 2020 12:01 pm
- Location: Russia / Россия
- Has thanked: 104 times
- Been thanked: 88 times
Re: USB Driver and INF file
Hi Steve
Thank you so much,
I was looking in the directory looking for an filename.inf extenion and did not see one but after your reply pulling me out of this endless loop
I found the filename that is showed in the Properties I guess it this one I will try it now
Many thanks old age is no joke
Thank you so much,
I was looking in the directory looking for an filename.inf extenion and did not see one but after your reply pulling me out of this endless loop
I found the filename that is showed in the Properties I guess it this one I will try it now
Many thanks old age is no joke
Regards Peter - QME Electronics
- p.erasmus
- Posts: 434
- Joined: Thu Dec 03, 2020 12:01 pm
- Location: Russia / Россия
- Has thanked: 104 times
- Been thanked: 88 times
Re: USB Driver and INF file
Hi Steve,
I have replaced the mm_mchpusb file in the driver files from the wiki and try to run the exe for my win10 64 bit machine and I get the following error
the error is in German it means the" DPInst.exe can not be executed on this Operating system " Sorry of all the trouble I am causing
I have replaced the mm_mchpusb file in the driver files from the wiki and try to run the exe for my win10 64 bit machine and I get the following error
the error is in German it means the" DPInst.exe can not be executed on this Operating system " Sorry of all the trouble I am causing
Regards Peter - QME Electronics
-
- Matrix Staff
- Posts: 1355
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 182 times
- Been thanked: 317 times
Re: USB Driver and INF file
Try right-clicking the generated .inf file and selecting "install". That might work...
-
- Matrix Staff
- Posts: 1355
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 182 times
- Been thanked: 317 times